Add support for Mongoid 3 and 4
Mongoid 4 validations