Simplify gl_FrontFacing glsl branches

This allows AMD's glsl compiler to optimize away an expensive JUMP + associated instructions
Fix typos introduced from commit 483b1f2127fc65291ab008dc8ee2162b1414cb1b
Quick fix for shadow weirdness with /r_dynamicLightCastShadows 0
Use a filename sorting method based on that used by dpkg for version nos.

We no longer treat colons as slashes.
We still translate backslashes to forward slashes, but only on Windows.
~ is now sorted before everything else.

See the following URL for the original code:
http://anonscm.debian.org/gitweb/?p=dpkg/dpkg.git;a=blob;f=lib/dpkg/version.c;hb=74946af470550a3295e00cf57eca1747215b9311
Set the default minimap background to what we actually use.
Use red/green textures instead of luminance/alpha if available.

They are madatory in GL 3.0 and later, and they are usually renderable.
Merge branch 'master' into bots