Ticket/11103 core

Core notifications system

From:
https://github.com/phpbb/phpbb3/pull/992

Notification types, goes with this system:
https://github.com/phpbb/phpbb3/pull/1172