Update dependencies to mongoid 4 and rspec 3