Status line reaction on changing file statuses is too slow for most status changes
Add code that invalidates caches when either of
forget repository functions are called.
Completely wipe out cache when
ignoreglob is called.
This is aimed at speeding up reaction of the modeline when one of these functions is called.