Split ORM Logic to core [NEW]

another try for: https://github.com/sidekiq-orm/sidekiq-activerecord/pull/4

@seuros /cc