Stylus gestures features (2/2)

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

Conflicts:

	res/values/arrays.xml
	res/values/strings.xml
	res/xml/language_settings.xml
	src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java

Change-Id: I7a1521c8368971d473dc7ceae4ede0175fa87040

Conflicts:
	res/values/arrays.xml
	res/values/strings.xml
	src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java