Merge pull request #3890 from rgonalo/master

Fix EPERM error in Windows when using a remote apk already signed
v1.3.1
fix publish.sh to use local underscore-cli
add 10.10 to doctor options (fix #3870)
cleanSafari fix
fixed release bug when released element is not valid
Merge pull request #3895 from appium/sebv-clean-safari-fix

cleanSafari fix
update appium-adb with logcat fix
have safeRimRafSync handle ENOENT messages as well, and fix potential async issues (fix #3875)
clean up old session when --session-override is used (fix #3891)
Add comment to docs about Selendroid appActivity
Merge pull request #3907 from imurchie/isaac-selendroid

Add comment to docs about Selendroid appActivity
cleaned up gps test
Merge pull request #3898 from sebv/sebv-release-fix-2

Fixed release bug when released element is not valid
chromedriver kill fix
safari realdevice fix
Merge pull request #3915 from sebv/safari-realdevice-fix

safari realdevice fix
Simplify getDeviceType() with tests rewritten
Merge pull request #3653 from bem/feature/named-app-priority

Simplify calculation of device type
use a wait instead of sleep