Stylus gestures features (1/2)

Forward-port of http://review.cyanogenmod.com/#/c/18610/
to JB

Change-Id: Ie0ab71d3a2283078601db8405aaabe1d81b27665

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values/config.xml
	core/res/res/values/public.xml
CORE: missing @hide

Change-Id: I6012d4317ab71d1716ea0e38ee1d04e448c39fa9
enable usb audio hot plugging

Change-Id: I527e0976b6cadacb67084348ffe2de192247529a