Added transparent caching support using memcached. It should be easy to
add other key:value cache systems.