Update alarm.js to use the new Web Notification API

The notification center was deprecated in Chrome 35, and is causing this example to fail. Update the sample to use the actual Web Notification API.
Merge pull request #261 from beverloo/patch-1

Update alarm.js to use the new Web Notification API