Clear the notifications user cache when bulk updating/deleting items
This commit also groups PHP Unit tests about notifications cache functions into a specific file.
Props niftythree, oztaser.
Fixes #8637 (branch 10.0)