Integrate ActiveJob / DeliverLater / GlobalID with Rails

WIP.
@dhh it's not thread or process safe.  We should at least be using a thread local variable.  Databases have locks for us to coordinate updates, global variables do not. :-)