Added an AppDelegate class, similar to the ActivityDelegate class found in the Android target. This makes it much easier for Module authors to hook into the application lifecycle, enabling deeper integration with the iOS platform.