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.
kill chromedriver before starting new chromedriver
Merge pull request #1749 from jlipps/master

kill chromedriver before starting new chromedriver
add bitdeli tracking
Merge pull request #1750 from jlipps/master

add bitdeli tracking
Merge pull request #1747 from c0nscience/develop

switch values at assertEquals statements
Fix android multiple devices: android/android-common.js
native instruments configurable as capabilities
Support full-reset for selendroid

Replay commit ad9c73a3c45cfa8352dac2e5b7943a19b615b14b
Merge pull request #1753 from patotskiy/fix_android

Fix android multiple devices: android/android-common.js
Merge pull request #1754 from sebv/extra-caps

Native instruments configurable as capabilities
Merge pull request #1755 from mobiware/full-reset2

Support full-reset for selendroid (2nd take)
Return accessibilityHint as element's attribute 'hint'
windows compat fix in android binary finding logic (attempt to fix #1759)
Merge pull request #1761 from thu2004/master

Return accessibilityHint as element's attribute 'hint'
Merge pull request #1760 from jlipps/master

windows compat fix in android binary finding logic
Implementing mobile:background command for Android and Selendroid

Replay commit 1c6b495cd2f3fbbb8622a9fb43f3e50aa79ab82e

Remove debug log

Tidy up spaces according to pull request review

Fixed indentation according to Appium project style guide (2 spaces indent)

Fixed error management in background method

Add an argument to ADB.startApp in order to choose whether to stop the app prior to starting it

Conflicts:
	lib/devices/android/adb.js

Refactored mobile:background method for Android: using ADB.startApp rather than directly issuing am start command to ADB shell, do not return to callback until app is back to foreground

Mimick the launcher start intent for the app when starting it

The Android launcher uses the following settings to start apps:
- MAIN action
- LAUNCHER category
- FLAG_ACTIVITY_NEW_TASK
- FLAG_ACTIVITY_RESET_TASK_IF_NEEDED
Without those settings there were discrepancies between Selendroid and
Android when trying to bring the app back to foreground: it would not
bring back the existing Activity stack but create new activities

Adapt background code to new startApp signature

Added "retry" argument

Missing space

Spaces after if

Fixed spacing issue

Split long line
Merge pull request #1762 from mobiware/background-android3

Implementing mobile:background command for Android and Selendroid