Basic notifications handling.

Here's the new handler + some unit tests.

@nasthagiri @flowerhack @mmprandom 

LMS-11163
@sarina revised the docstring; lmk if that works for you