First shot at implementing desktop notifications for chrome and firefox.

It seems to work for chrome, but the event isn't called on firefox for some reason