Added some cross-browser mouse handling code:
* Wraps mouse state in an object (position, button presses, etc).
* Simplifies Pointer Lock support while API is in development.