Added a test case for mouse and keyboard event listeners.

This shows mouse and keyboard event listeners working on the Windows
platform *without* any need for special-case handling with a native
mouse hook or a global AWT event handler.