support program queries used by Cg Toolkit
support NV_path_rendering and indexed EXT_direct_state_access
specs: Reorder glapi.py functions.

So they match what specs/scripts/glspec.py produces.
specs: Ensure query ids are swizzled when replaying.
glretrace: Make glTransformFeedbackAttribsNV replayable.
specs: Add a few recent extensions.