Fix for issue #280 "Not working without Mongoid"

String 
```ruby
    if model.include?(Mongoid::Document)
````
can't find "Mongoid" and generate exception when app use only ActiveRecord. Add check for presence of 
Mongoid and MongoMapper.
Also add test case for that situation.