Removed mongoid 4 dependency from mongoid 3 branch