Misc fixes to IBO code to correctly use sizeof(glIndex_t)
OpenGL2: Small optimizations and comments in world VBO creation and surface merging.
Remove unused DAMAGE_SKINS and DAMAGE_SKINS_AGEN

Changing skin shaders based on damage level will be possible to readd in cgame in the future (after I move skin loading to cgame).
Remove celoutline cvar and shader support

It's better done using separate shader with deformVertexes and cull back, plus it will work in GL2 that way.
I didn't like that the outlines were always a fixed size using GLS_POLYMODE_LINE anyway.
Add tcGen cel based on ZEQ2-Lite

It's used in Turtle Arena.
Merge remote-tracking branch 'spearmint/master'

Conflicts:
	code/renderergl1/tr_local.h
	code/renderergl1/tr_shade.c
	code/renderergl1/tr_shader.c
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.
Merge remote-tracking branch 'ioquake3/master'

Conflicts:
	code/renderergl2/tr_bsp.c
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
Fix comparing unsigned values to < 0 in gl2