gl{Enable,Disable,IsEnabled} cleanups
Here's a bunch of clean-ups for glEnable, glDisable and glIsEnabled.
This reduces some duplication and modernize the code a bit to use helpers generated from the extension-table instead of open-coding the requirements.
Edited by Erik Faye-Lund