Add test to use OpenGL version above 3.0 .
Add glcorearb.h to include when using OpenGL3.* .
Separate old OpenGL functions to gl_api_legacy.inc and gl_api_legacy_compatibility.inc .