Upgrade the things (Rails 4.1 and Mongoid 4)

It's good to keep up to date etc...

This needs to be merged along with https://github.gds/gds/alphagov-deployment/pull/667