Make isSoftKeyboardPresent correctly detect keyboards with no UI

appium/appium#3884
appium/appium#3903
Merge pull request #60 from appium/v1.3.3-pre

v1.3.3-pre