Refs #41, implements an updated schema for notifications.

Things that still have to be done:
* Provide some text with the notification so the client can tell the user what it is.
* Add/update notifications on events.