Test some error conditions of GL_ARB_clear_texture

This checks some basic error conditions of glClearTex*Image such as
using invalid texture objects and out of range regions.
Test GL_ARB_clear_texture using an integer texture

This tests calling glClearTexSubImage using an integer texture.