ISPN-3241 Don't make the memcached server overwrite the cache configuration if it already exists

This branch applies cleanly to both 5.3.x and master

Also ISPN-3241-5.2.x/memcached_cache_def for 5.2.x