Add logdir param

Made config a global (possibly questionable) to allow for https://github.com/Contegix/node-ubersmith/pull/2

Added config.log.directory parameter and set it to be passed to the loggers.