Test suite fixes

 * Added some integration tests
 * Integration test helpers
 * Silence mongoid in test mode
 * Added HoundCI
Trailing whitespace detected.