New configuration option for cache limit

Adds a new cache_days configuration options that a user may change. This
will be used to determine how old a file in the cache may be before it
is dropped.