Support for iOS 5

contains changes from https://github.com/Sumi-Interactive/SIAlertView/pull/6 & fixes `UIWindow` hierarchy issues by saving a reference to the old `UIWindow`.

This pull request is more a hack than a fix, but it might help someone to the right direction.