Fix parsing of adb and args

Rather than splitting the `adb` command on spaces, take the first part (the actual command) as everything up to an including `adb` or `adb.exe`, and parse the rest on spaces. This way there can be a space in the path to `adb`.

Fixes appium/appium#3673