Revised version of commit b92e6bb26ae545a95e72c563b5112e4ffa9443dd

Consolidation of various GL context limits into RegalEmu.h and ContextInfo
Improved array bounds checking for emulation
More querable states for GL database
Revision: Resolve Iff fixed-function lighting emulation perf regression.