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 aim prediction for non-hitscan weapons

lastvisorigin is suppose to be from previous frame, but was always the current origin.
This cause errors trying to get direction enemy is moving in BotAimAtEnemy.

Incorrect lastvisorigin cuased other things to misbehave as well.
Make aas_entityinfo_t use angles from last bot AI entity update

I don't know if this was causing any problems.
Remove old_origin from aas_entityinfo_t

It was unused.
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.
Merge remote-tracking branch 'ioquake3/master'
Update Spearmint GL2 for recent upstream changes
Merge remote-tracking branch 'spearmint/master'