Add special handling for cache TTL < 1 second

Add a decorator to CacheAccessor that makes sure we don't accidentally cache anything with a TTL of zero, i.e. infinity in Memcached-land.
OK, outvoted. Moved it into `MemcachedAccessor`.