Port "Option to control cursor in text fields using volume keys (1/2)…

This feature is moved to framework so it also works with third party
keyboards.