library_gl misc fixes

Added OES_element_index_uint and OES_standard_derivatives detection, glDetachShader support and misc. function signature fixes.