[1/2] base: Add support for ADB over network

Originally from CM.
This patch actually consists of three parts. SlimKat has already patched the ADB service in vendor/slim: init.local.rc

Conflicts:
	core/java/android/provider/Settings.java

PS2: Put CM in commit message, reorder import and fixed space indent.

Change-Id: I2983caddbe6079305a8d8caab32f6538a51d7db9