Control cursor in text fields using volume keys (1/2)

This will also work with 3rd party keyboards.

Change-Id: I1e116f5eb3b757efdb6b80898d80cb073ff7c40a
Merge "Control cursor in text fields using volume keys (1/2)" into kitkat
Merge "Control cursor in text fields using volume keys (1/2)" into kitkat