Allowing UIAlertViews be queryable in iOS 7

Uggggh. I made a mess of this pull request. Will try again.