worked on CRM-12321, added memcache support for civicrm_cache table