AJ::Base.queue_adapter improvements

@cristianbica this is https://github.com/rails/rails/pull/16968
Can you provide a use case where you need to determine the adapter in a proc? We should implement features when there are clear use cases for them (I think DHH's rule is at least 2)