Gamepad improvements and new test mapping mode

Hi irtimmer,

I have a wired Xbox360 controller and have been testing limelight-pi with it for the past week. I've made a few changes that I'd like you to see.

Please let me know if you have any questions or suggestions.

Thanks,
-admiralmachado