Upgraded test suite to 1.9 and refactored entirely

Existing test suite was not passing, and pulled in the wrong
gem (with all its awful dependencies) even when installed into
production.
Tweaking log format
Merge pull request #1 from bensomers/master

Test fixes and tweak logging format