Add support for defining joystick buttons

Input.defineButtons() maps a joystick button. Can be read using
Input.check() like you would read key input. Does not break any existing
Haxepunk projects