Orientation support for iOS 5

The alert's window was not rotating in iOS 5. Added support for this by implementing the supported interface orientation methods in the windows root view controller.