Add ActiveRecord to Gemfile.
Update orientdb_adapter to more closely follow ActiveRecord architecture.