* Add event topic
Add ability to subscribe to events via js-api
* Apply suggestions from code review
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Output an error if no status or event object is passed to payload
* fixed typo
* Report a warning if user tries to unsubscribe to a non registered event/type combination
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>