Daemon support

* [IMPROVEMENT] Added Daemon support to run as service
* [IMPROVED] Logging output has improved and is now written to file
* [IMPROVED] Added logfile configuration option
* [IMPROVED] Optimized classes to work in daemon mode

This will require the python-daemon module to be installed:
`pip install python-daemon` or `easy_install python-daemon`