[windowManager.js] Rearrange the notification-handler code
[windowManager.js] Decide notification urgency based on whether a notification-handling applet is present.