Integrate ActiveJob / DeliverLater / GlobalID with Rails

WIP.
I don't remember well why we did that .
cc @DouweM @dhh @mperham @cristianbica @rafaelfranca