[No reviewer required] Add extra diagnostics to memcachedstore

This commit adds some extra diagnostics so we can spot issues with the memcached store interface.