Updated mongoid to ~> 3.1