Moved the memcache store initialization into a Railtie, because it relies on Rails.cache which is only available after Rails initialization.