Basic notifications handling.

Here's the new handler + some unit tests.

@nasthagiri @flowerhack @mmprandom 

LMS-11163
Are lines 161-167 needed in this test?  It seems they are already tested in the previous test.