Implement error handling for glAttachShader.
fix caching_client_glSetError. needs_get_error attribute needs to
be false, otherwise the wrong path glGetError path will be called.
Cache attched shaders and use them in the glGetAttachShaders.