Fix OpenGL TLS state tracker not being initialized.
Get rid of state tracker.

We are now using OpenGLRaw and not the stuff in gl_api.c. gl_api.c now only has
the debug interface (which I might remove later when that support comes to
OpenGLRaw).

Now we don't have a dependency on glew.
Enable vertex attributes when they are set.