support SDL_WM_ToggleFullScreen when initiated by key input

Not sure how you feel about testing this. We could perhaps simulate key events and override Module.requestFullScreen to validate, but that's perhaps a bit contrived.