Extends $cacheFactory with time out functionality.