Bump the Mongoid dependency to at least 2.5.x.

Our current Mongo drivers are 15 months out of date, which may be showing up a bug with the connection pool handling. Version 2.5.0 and onwards of Mongoid support the newer drivers.