Don't require rack/mongoid. It was removed with IdentityMap (7180173).

Fix #3367.
Merge pull request #3368 from simi/fix-rack

Don't require rack/mongoid. It was removed with IdentityMap (7180173).