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)
I think it reads easier as before, with the declaration of `private` near the method, the only that is. After version makes you jump through the class to read what it is.