Support Desktop GL Core contexts

v2:
 * Decompose patches further
 * Drop DRI changes
 * Drop state_tracker changes
 * Drop MESA_GL_API_OVERRIDE variable

v1:
 * Add CORE API type
 * Alter code paths to generate errors for legacy functions
 * Add MESA_GL_API_OVERRIDE variable
This tag has no release notes.