Add unified handling of raw and toast notifications

Add API for showing toast notifications, using the system behaviour.
Expose interface for users to handle raw and toast notifications by js callbacks.
This way they can handle notifications differently than the system