Android text input fixes
See commit messages for details.
This should fixes a slew of Android keyboard bugs and lets the text tool tell the Android integration not to pan the screen up if the user is editing text that is near the bottom of the screen. It also allows for debugging the text edit positioning at runtime, which previously required uncommenting code inside Qt.