Add gl-info
glGetIntegerv for OpenGL version does, in fact, work on OS X.

My code previously assumed it didn't. Moreover, there was a bug in OpenGL
version checking code.
Fix SDL2 initialization not being done in the toy programs.
Use new getGLVersion
Fix MINOR/MAJOR typo in gl-info