glsl backend updated by raynor

but small whoops in the code was destroying the same shader twice instead of vertexshader/fragmentshader.
Works pretty well now but still some problems interacting with the ARB2 backend when custom shaders in use.
The commit can be found at the dhewm3 site.
Productivity is a state of mind.