Aegolden/ios5 compat

Changes to address some ARC and UIAutomation bugs that exhibit in iOS 5 and earlier so that the Subliminal framework will work more reliably on these older systems.

In particular, these changes allow the example app's integration tests to work correctly in the iOS 5 simulator.