MDL-38165 cache: fixed up session event purging
MDL-38165 cache: fixed up application event purging
Testing event purging of caches