Merge pull request #6 from p3/master

update from latest upstream
Merge pull request #7 from p3/master

pull latest upstream code
Force uniform update on first use.

In most new programs "ver" is updated through UpdateMatrixVer().
However, when that does not happen a program may end up being
unusable as uniforms are not set correctly.
Add variable to force Desktop GLSL version.

We use this for testing: to run Regal in ES2 mode with GLX.
Merge https://github.com/igor-c/regal glx
Regal::DispatchCode refinements.
Regal::Enum wrapped as struct.
Initialize dbgLogLen before calling glGetProgramInfoLog.

Crash on PPAPI if call glGetProgramInfoLog() with an uninitialized params.
Regal::helper::getInfoLog for accessing various GL info logs.
Add regaltest test coverage for Regal::helper::size::get
Eliminate global/static data in RegalIff.cpp
GL_VERSION_1_2 enums that GLEW missed out on: GL_MAX_ELEMENTS_VERTICES, GL_MAX_ELEMENTS_INDICES
Add GL_SGIS_detail_texture enums to gl.py
Add GL_ARB_viewport_array enums to gl.py
Regal::Config string variables for code generation dispatch layers.
For RegalDispatchCode - name shader and program return variables, rather than generic o output.
Add extra cast through void* to avoid -Wcast-align warning
Fixups for glShaderSource support in RegalDispatchCode
RegalJson for parsing Config and Logging state from JSON
Added RegalConfigure Regal API
Refresh VC and XCode projects
Regal builds need jsonsl library now