Move autoAcceptAlerts to bootstrap env
Merge pull request #3651 from imurchie/isaac-ios-alerts

Move autoAcceptAlerts to bootstrap env
fix lint
upgrade appium-uiauto with hideKeyboard fixes (fix #2930)
Change priority of methods to calculate device type
Simplify getDeviceType()
Fix reset.sh by downloading UICatalog.zip from WebArchive

It is broken now because Apple removed old UICatalog.zip and replaced with one that
could only be built by Xcode6.