Added hasFlushCache() to CacheStats interface, added default impl to abstract.
Cache impls are now fully customizable for other use cases. Updated dummy.