Various bug fixes
Created by: mguijarr
Energy.py: bug fix: truth value of a hardware object can be surprising, better check with None InstanceServer.py: bug fix: takes qt3 into account, what if QtImport doesn't exist? HardwareRepository.py: fixed typo TacoDevice_MTSafe.py: bug fix: reverted Python 3 change