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.
Added a comment, but I don't think there's actually a good reason why it's not 0.