Notifications Rewrite

Asynchronous notifications with improved support for message customization (subject and body, multi-lingual).

Still to do:
- [ ] subscription system based on relationships
- [ ] update a plugin as example of how to use API
- [ ] more unit tests