guard against out-of-bounds jump table targets
OpenGL2: Add fourth cascade for sun shadows, and adjust sun shadow cvar defaults.
spearmint: Add tr_animation_mds.c from iortcw tr_animation.c

iortcw tr_animation.c has mdr and mds code.
Let's split it up into two files.
spearmint: Add (partial) MDS support to OpenGL1

Support for separate torso axis and animation frame has not been added yet.
Missing R_ModelBounds support.
Not included in dedicated server.
spearmint: Support loading MDS models in dedicated server

A lot of the static vars gave warnings about being unused
in dedicated build without the rendering code, so move into
the function that uses them if possible.

Removed numVerts that was set, but not used.
spearmint: Add GL_State call for non-working/disabled MDS tag drawing
spearmint: Clean up MDS frameSize code based on MDR code
spearmint: Allow VMs to get bounds of MDS models (OpenGL1/dedicated)
spearmint: Fix gettings bounds of MDR models

Also changed MDS whitespace.
spearmint: Copy renderergl1/tr_animation_mds.c to renderergl2
spearmint: Add (partial) MDS support to OpenGL2

Support for separate torso axis and animation frame has not been added yet.
Merge remote-tracking branch 'ioquake3/master'

Conflicts:
	code/renderergl2/tr_scene.c