Updated mongoid version to 4.0