Implemented support for changing resolutions and going fullscreen.

For the accompanying openfl-native pull-request.
One problem remains: Something calls SDL2Stage::SetScreenMode repeatedly, seemingly in response to mouse events. Don't know how that happens, added a small hack to ignore those calls.