Fix EZP-20324: Add cache events to be able to clear cache on changes

This is part of https://github.com/ezsystems/ezpublish-kernel/pull/198