Fix EZP-22447: Removed content still shows on frontend until http cache expires

This patch makes content view cache to clear *before* it is removed.
This allows reverse proxies to clear their cache related to assigned
nodes, as once the content is removed, there is no assigned nodes any
more.