Allow ElggMemcache dependencies to be injected