Add a periodic cleanup thread for IndexFieldCache caches

Defaults to every 10 minutes.

Fixes #7010
Yep, added this.