Enable Memcache in CI and adapt tests to newest version of libmemcached

This PR re-enables the memcache extension in the CI environment. The memcached extension and tests were disabled as there were problems back then with the memcache server provided by the CI environment.

It also adapts tests to work correctly with the latest libmemcached version (2.1.0).