Enables switching between NATIVE_APP and CHROMIUM contexts. Works for both backends: UIAutomator and Selendroid. It's intended to work for any Chromium
embedding app under the following conditions:
- user has to make sure the devtools socket is open
- user may need to provide a webdriver working with his app (probably deriving from chromedriver)
- user needs to use some additional capabilities: 'android-device-socket', 'chromedriver-executable' (optional), 'special-chromedriver-session-args' (optional)
Every entry in `Capabilities.capabilityConversions` is now used to
convert capabilities into the args array.
Change version to versionVersion.
Change device to platformName
Stop aliasing platformVersion to version in Capabilities.js
Added deprecation warning for older style caps. Warnings are output
once only for a given function or capability. A final trailing log
message is released saying there were deprecations.
Busted unit tests into smaller tests
Capabilities are now an object, created by passing the capabilities
to Capabilities. Properties on that object are copied into the Capabilities object so the API is identical.
Store the value of platformVersion as version.