Misc fixes to IBO code to correctly use sizeof(glIndex_t)
OpenGL2: Reduce glsl shader count by using a uniform to disable textures.
OpenGL2: Revisit fragment tangent space calculation, and remove tangent space lighting.
OpenGL2: Some small shader optimizations.
OpenGL2: Reimplement soft overbright to avoid a framebuffer blit.
OpenGL2: Prefer VBO/IBO sizes of around 4MB.
Fix running if built on OS X 10.9

strncpy with in == out causes signal 6 if built on OS X 10.9.
(If built on older OS X versions, the game works on 10.9 though.)

It was happening in COM_StripExtension during map load.
OpenGL2: Small optimizations and comments in world VBO creation and surface merging.
OpenGL2: Remove srfTriangle_t, and use glIndex_t instead.
Fix VM FOpenFile( FS_READ ) files seeking twice in FS_Seek
Remove unused variable baseOffset from fsh[]
Support FS_SEEK_END and negative offset for zipped files in FS_Seek

Use FS_SEEK_END in sound code instead of working around it.
If FS_SEEK_SET and going to current position, just return.
Remove old comment that FS_Seek doesn't work on zipped files
Remove function prototypes for non-existant Sys_* DLL functions
Merge branch 'glindex_size_fixes' of https://github.com/inolen/ioq3 into inolen-glindex_size_fixes
Fix flares being invisible after vid_restart

flareCoeff was only set if r_flareCoeff cvar was set as modified.
Cvars are set as modified when created or changed.
Make OpenAL buffer management work on OS X

Don't assume we have unlimited OpenAL buffers.
Detach buffers from sources by setting AL_BUFFER to 0. Cannot delete buffers on OS X immediately after alSourceUnqueueBuffers.
Free unprocessed stream and music buffers.
Free unused sfx buffers when sound file exists and fails loading into OpenAL (though I haven't seen it fail).
Fix restoring loop sound position on OS X

The default OpenAL library on OS X errors AL_INVALID_VALUE for AL_SEC_OFFSET if source isn't playing.
Fix cinematics often being silent on OS X

If OpenAL source isn't playing, often what happens is: queued buffers is 0 and processed buffers is non-0.
S_AL_StreamUpdate won't play the steam if queued buffers 0.
So start the stream in S_AL_RawSamples.
Remove unused cvar_t variable cl_trn