Fix EZP-22664: View cache not cleared properly if the node count is above the threshold

https://jira.ez.no/browse/EZP-22664

This makes sure that the ` 'content/cache/all'` event is triggered (and not `'content/cache', $nodeList`) 
when clearing view cache, if the node count is above the cleanup threshold.