chat.js: Display HTML5 notifications on new messages.
chat.js: Display notifications only if the page is "hidden".
Merge pull request #2 from wmark/master

Emit HTML5 notifications.