Add Memcache to the public api

Expose Memcache in `\OCP\IServerContainer`

Also does a bit of cleanup to remove a static dependency and changes `APC::clear` to use `APCIterator` instead of manually iterating over all cache entries.

cc @DeepDiver1975 @PVince81 @karlitschek