updated for mongoid 4.0.0.beta1 and removed mongoid 3 from travis-ci settings