Port to SDL2, tested on Linux

No major changes, but it will probably require some
testing on other platforms.  Mousewheel semantics
have changed slightly and need testing.  I also
uncommented two lines to request a newer OpenGL API
on OS X.