Fix logger

Logger now have a config entry 'log_file' to specify where to write the
log output. Defaults to STDOUT.
Fix configuration parser

Added global{} directive in config file to that we can properly define
log_file and other global settings.
Fix readConfig

Fixed readConfig to read global configs in a proper way.
Merge pull request #3 from diddi-/fix_logger

Fix logger