Added sample project
Added out-of-browser settings
Major refactor. Turns out the initial code didn't work at all. This should now work with Firefox Nightly and Chrome Canary. They have both been tested on Windows 7 using a USB XBox 360 controller. Also added some more things to the sample and disabled out-of-browser as you can't bridge JavaScript in those cases.