Add logging module

Route all logging functions through this module. Support both logging to
a file and syslog.
Error log configuration
Merge pull request #45 from dlundquist/logging

Add logging module