Basic support for gesture controls.

Added support for gesture-based controls by using GestureDetector and
GestureListener. Requires further polish, but mobile control is now as
functional as desktop control.

TODO: Refactor input system to make it less complex and easier to
manage.