Move initializing process for query cache to ActiveRecord::ConnectionAdapters::QueryCache module.
Merge pull request #11435 from kennyj/move_to_query_cache

Move initializing process for @query_cache to QueryCache module.