Move Mongoid/Rack configuration into globally-required classes, to obviate require order