Added basic joystick support

So far it only works in the menu. The key queue in the game screen is a
little complicated so I think we will allow only joystick or keyboard
but not both.

Works with an Xbox 360 controller, haven't tested with others yet.