Fix glDeleteShader handling: shaders are lazy-deleteable. Need to intercept glDetachShader to properly handle theese.

Tests needed.