Adds use of hapi-common-log to improve logging

Also cleans up a couple of files to play nice with jshint