Add mongoid support to travis and testing.