TextureArray done, GL_CHECK_ERROR macro

So, it seems that TextureArray class is done (needs testing).
Added fancy ogl error checking macro. It really is fancy.