Removed attr_mode. Changed _wait and _wait_mode to use gevent.
Fixed bug in _wait_mode. Renamed _manual to _automatic to be consistent with the device server. Changed command_inout and read_attribute to the new style PyTango command execution and attribute reading. Added _frontenfd to distinguish between a front end and safety shutter. Some documentation.