added jshint and hübsched up code
added jshint
improved jshintrc
jshint all the things
improved readme
refactored using of config, improved logging
Merge pull request #5 from larsvegas/refactorings

[WIP] Refactorings