Fix qonos log handlers
DRY up some log code with regard to daemonizing
Merge pull request #83 from ameade/logging

Fix Logging when daemonizing