Add some basic manual tests and an idlharness test for Gamepad API.
Merge pull request #1458 from luser/gamepad-tests

Add some basic manual tests for Gamepad API; r=Ms2ger