Move _cache definition to __init__, add cache_clear and cache_clear_all

Without class variable it would be much easier to implement

> # TODO Drop cache on BufWrite event

. Especially knowing the fact that repository_status cache should be dropped for 
all buffers on BufWrite event and self._cache.clear() is not available for 
global cache.