Support mongoid4

- Introduce orm_model_dir to reuse models across directories
- Detect mongoid versions to support both mongoid 3 and 4 inside same
  model.
- Update .travis.yml to run build on rails4 + mongoid4
Mongoid4 does not support rails 3
Merge pull request #336 from shinzui/master

Support mongoid4