Upgrade MongoidCheck to support Mongoid 3 with fallback to existing Mongoid 2 logic