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)
We can write this as:
```ruby
c.send :establish_connection,
         Doorkeeper.configuration.active_record_options[:establish_connection]
```
What does it do?