Integrate ActiveJob / DeliverLater / GlobalID with Rails

WIP.
This was added in https://github.com/rails/rails/pull/14101. IIRC the motivation was to make comparison easy for gem/plugin authors (`if ActiveRecord.gem_version > ...`)