Update Alert Logic

* by default appium doesn't interact with alerts
* set autoAcceptAlerts to true to have appium accept alerts
Merge pull request #1724 from dandoveralba/alerts

Update Alert Logic
actually allow removeApp to work with selendroid (fix #1686 for real)
cleanup app state before a test too (rewrite of #1732)
cc @dandoveralba @bootstraponline
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)
Use correct suffix (.zip or .apk) when downloading app from a url.

md5calculator (used in lib/devices/android/android-common.js)
can only handle files that end in .ipa or .apk, not .zip.
Currently urls that end in .apk are downloaded as appium-app.zip
Merge pull request #1727 from rectalogic/master

Use correct suffix (.zip or .apk) when downloading app from a url.
Support Latest SDK

android-4.4 created by default on latest SDK installation
Merge pull request #1729 from Markm21/patch-1

Support Latest SDK
Refactored tests to use wd promise-chain api
Merge pull request #1732 from sebv/wd_promise_chain

Converted test to wd promise chain api.
support selendroid 4.4/19 better
fix selendroid app launch issues
require a dot for a relative activity, otherwise we consider it a full one
Merge pull request #1734 from jlipps/master

fix some selendroid issues
Fix issue #1713: Change killProc signal from SIGKILL to SIGTERM.
switch values at assertEquals statements, to reflect the correct meaning
Merge pull request #1745 from zijie0/master

Fix issue #1713: Change killProc signal from SIGKILL to SIGTERM.