Add allocator parameter to resource loading functions
Delete GLTexture and GLTextureManager