Simulate application badge auto-imcrementing with local notifications that exists with push notifications. Note that this method fails if a local notification were to fire at the exact same time that renumberBadgesOfPendingNotifications is running. However, this case would be extremely rare and in general should not come into play.