Fixed check for [ARB|EXT]_framebuffer_object

Also removed redundant CheckGLError calls
Added missing license header