Controlling Input Focus with Pause & Resume

Hey,

I moved event "binding" (jQuery lingo) to the start and stop functions. When you pause the emulator, the keyboard will be usable again. When you resume, the keyboard will direct events to the emulator only.

Part of the solution was hacky though. I didn't want to delve too far into how jQuery and JSNES were handling temporary data storage, so I put the DOM-level input handlers into the global scope (in the Window object).

Thanks!
pikpik