on_cache_flush event

Added on_cache_flush event as suggested in 
https://github.com/concrete5/concrete5/pull/848
Merge pull request #860 from JohntheFish/patch-10

on_cache_flush event