on_cache_flush event

Added on_cache_flush event as suggested in 
https://github.com/concrete5/concrete5/pull/848

This replaces my previous proposal for on_cache_updated and on_cache_cleared events.