Fix for installing/removing app on device when a .app path is used.
Merge pull request #1725 from paymand/install_remove_app_ios

Fix for installing/removing app on device when a .app path is used.
Merge pull request #1726 from jlipps/master

cleanup app state before a test too (rewrite of #1732)
fix autoAcceptAlerts undefined issue (cc @dandoveralba)