Initial screenshot commit for sdl2
Initial texture flip code

Currently doesn't flip right.
Merge pull request #2661 from inclement/sdl2-screenshot

Sdl2 screenshot implemented with glReadPixels