Adds jasmine tests for the WebNotifications API

Jira-issue: WP-1310