Use python logging

Changed the Logger class to use the python logging module. QLogHandler
is now a handler for the logging module which will emit all logged
messages as Qt Signals.
This enables messages from the logging module to be easily intercepted
and shown in a PySide/PyQt GUI