(core+) refactor towards dropping GL_HEADERS hack

This will break several builds, but removing
the dependency to GLEW and started dropping the
need for GL_HEADERS throughout the project.

Added the option for docgen to generate
a vim highlights file, and doc->test generation
almost completed.

Shortened the shmpuncher testcase.