Implemented support for changing resolutions and going fullscreen.
Provisionally cleaning up older --macro calls from the build files.

It seems keep is a macro in newer versions of haxe, and is the preferred
way anyway. I can't manage to get the compiler to remove the Main file
no matter what, so removing it provisionally. It causes FD and probably
more to choke on the code complete step when it throws errors from the
--macro option.

This can be readded if keep is really needed, but it doesn't appear to
be (or if it's using the incorrect keep syntax then that could be
corrected).
Detects failure to create the SDL window or renderer and retries without some optional features. Also adds error messages when window/renderer creation does fail.

Fixes #32
Merge pull request #33 from grapefrukt/aa-fallback

Detects failure to create the SDL window or renderer and retries without...
fix samples
Merge pull request #36 from kasoki/master

fix samples (thanks @kasoki, I had missed these when searching for the location)
add support for android-19 immersive mode
remove redundant code for immersive mode, make immersive sticky and disable old fullscreen flags for android devices below api 19
Merge pull request #37 from kasoki/android_immersive_mode

Add support for android immsersive mode
Find a default font using a list of possible matches (on iOS) (thanks Hugh)
Fix Android JNI class compare logic, allow string return value (thanks Hugh)
Cleanup local JNI ref
Use common code for Android GC interaction (thanks Hugh)
Remove viewport-per-drawcall data (thanks Hugh)
drawTiles optimization: allow the caller to specify the size of data within the array that should be rendered.
Work on new graphics (tesselated AA hardware lines, single hardware array, VBO and programatic shader generation) (thank you Hugh)
Reset mElement when completing a line loop (thanks Hugh)
Disable VBOs until the context loss code is working
Start on more efficient tesselation algorithm (thanks Hugh)
Fix normal offset for AA lines (thanks Hugh)