Only run memcached tests if server is available.
Ensure memcached extension is there before attempting to create an instance.
Merge pull request #6244 from owncloud/memcached-connectivity-tests

Only run memcached tests if server is available.