Notifications: rework notifications API

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Merge pull request #127 from webOS-ports/tofe/notifications

Notifications: rework notifications API