WIP Notification functionality

Minor refactorings
Added new system tables to the db
Added reflections to allow annotation scanning, the event sources and
event types will be registered using own-synekus annotations.