test app to demonstrate timing of UIApplication delegate methods and associated NSNotifications