Configure mongoid to work on Travis CI