Upgrade to support current version of the html5 notifications spec

Fixes JENKINS-16236

I've switched to using the notify.js library for slightly more readable code
Cleaned up the pom file a bit
Added intellij support (I can remove these commits)
A bit of cleanup.

Lemme know if there are any issues but seems to work with my testing