feat($cacheFactory): timed cache invalidation

Added new options parameter to $cacheFactory which enables
timed cache object invalidation.

Closes #5482