Patch up Memcached for extension
Patch up Memcached for extension

This class wasn't intended to be have an extension, so the main
`$memcached` variable needs to have increased visibility, and the
factory method needs to call `static` to pick up the constructor from
the child class.

iFixit/Matryoshka