Handle removal of CacheClass

Django removed django.core.cache.backends.memcached.CacheClass
https://github.com/django/django/commit/59351247bd635c55bb72a156d71f0d3a27563a67