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
(cherry picked from commit b3d850521e0042b85422903c70130f350f57b87a)

Conflicts:

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