Test suite fixes

 * Added some integration tests
 * Integration test helpers
 * Silence mongoid in test mode
 * Added HoundCI
Small fix to remove variable use in view.