TAppDelegate: Added factory method for user notifications. It also follows the NSUserNotificationCenterDelegate protocol