Basic notifications handling.

Here's the new handler + some unit tests.

@nasthagiri @flowerhack @mmprandom 

LMS-11163
Consider using the already defined constants in the course_action_state/managers.py file rather than redefining them here.