Revert "Made the CaptureCache cache pattern implement EventManagerAwareInterface. Also made set() trigger a set.post event which makes it possible for the user to know what the saved file name is."

This reverts commit 9d415eab2ea0c6b0690c5fecf76d82c55c13d767.
New public method getFilename() and supporting unit tests.