Add support for multiple named notifications

Notifications API reimplemented to support multiple named notifications,
e.g. one for media player and other for extra notifications.

Mediaplayer.js ported to the new implementation.

Signed-off-by: Jiří Janoušek <janousek.jiri@gmail.com>