Basic notifications handling.

Here's the new handler + some unit tests.

@nasthagiri @flowerhack @mmprandom 

LMS-11163
I would do this check before you retrieve things out of the request object (ie put L106 after this check)