[windowManager.js] Make it possible to dismiss notifications of urgent windows
[windowManager.js] Rearrange the notification-handler code
[windowManager.js] Decide notification urgency based on whether a notification-handling applet is present.