rspec 2.11 expect syntax
Fix mongo test environment
Drop prototype, add (empty) defaults.js for Rails4