Separated adapters from model #581

[WIP]

Now works only with AR and Mongoid.

@arnvald, have a look!