AJ::Base.queue_adapter improvements

@cristianbica this is https://github.com/rails/rails/pull/16968
It's not always a class, though. It may be a callable. I'll change the name to reflect that.