Add config hash. Compact some code.
Merge pull request #5 from hubot-scripts/general-cleanup

General cleanup.