Improve fullscreen handling

resizes are now allowed for FULLSCREEN_DESKTOP, generally more stable
scale mouse events
handle mouse focus (#20)
make sure we only handle fullscreen events that we started, reparent canvas and scale properly in all browsers
rework so fullscreen resize events are pushed out when changed from the external emscripten shell.