Issue #858

  * Fixed memory corruption in APC/XCache cache backends
  * Fixed memory leaks in Phalcon\Cache\Backend\Apc::queryKeys
  * Optimizations
Merge pull request #860 from sjinks/issue-858

Fix memory leaks and memory corruption in cache backends