added mongoid integration with rails4. Removed references to active_model