Centralize notification logic into STNotificationController.
Includes bug fixes around making sure the applicationIconBadgeNumber is showing the proper number (before it had been just showing "1", but now it shows an appropriate number "2" or "4" or whatever).