Extract ORM specifics

rework of PR #454

ORM specifics except Active Record has extracted to [doorkeeper_bundle](https://github.com/jasl/doorkeeper_bundle) (not push to rubygems yet)
This makes sense for now. Note to myself: the goal will be to add here `gem 'doorkeeper_bundle'`.