Support for keyboard and mouse input

Adding support for keyboard and mouse input, along with basic touch
support (primary touch only.) Need to add support for gamepad and
multi-touch.