Basic notifications handling.

Here's the new handler + some unit tests.

@nasthagiri @flowerhack @mmprandom 

LMS-11163