Memcached ccache

This is an attempt at adding memcached backend for ccache.

The goal is to optimize cache hits in a big build cluster, without having to rely on single point of nfs failure.

I still need to make real life tests beside unit tests. This PR is for early feedback.