Changing dependency to mongoid 4 gem