Allowing UIAlertViews be queryable in iOS7.

Second try at allowing UIAlertViews be queryable in iOS7. Please ignore PR number 259.