Upgrade from libcurl 7.15.5 (2006-08-07) to 7.35.0 (2014-01-29)

Note: This uses the generic curlbuild.h because it is used by multiple platforms.
A system curl would have a configure generated one.

The libraries for win32 and win64 were cross compiled with these options:

  --disable-shared --enable-static --disable-ares --enable-http \
  --enable-ftp --disable-ldap --disable-ldaps --disable-rtsp \
  --disable-dict --disable-file --disable-telnet --disable-tftp \
  --disable-pop3 --disable-imap --disable-smtp --disable-gopher \
  --enable-ipv6 --without-ssl \
  --disable-manual --disable-libcurl-option

This effectively enables only HTTP and FTP protocol support.
Merge branch 'master' into features/upgrade-curl-7.35.0
Merge pull request #45 from xhairball/features/upgrade-curl-7.35.0

Upgrade libcurl to the latest release (7.35.0).
OpenGL2: Set RGBM to use a multiplier of 1, and only use it with HDR lightmaps.
OpenGL2: Fix bug in ColorToRGBM().
OpenGL2: Oops, set lightmap alpha to 1.
Rebuilt Windows libcurl-7.35.0 static libraries

Fix linking with mingw32.
Enable FTPS and HTTPS.
OpenGL2: Fix rendering when r_hdr = 0 and r_floatLightmap = 1
spearmint: Support rendering IQM with separate model and animation files
spearmint: Support LerpTag for IQM with separate model/animation files
spearmint: Actually set client numbers in snapshots

Appearently I forgot to add it. Server always sent zeros for local clientnums in snapshots.
Client parsing would convert index greater than snapshot numPSs to -1. So valid slots were 0, invalid were -1.

Caused issues for displaying client icons at vid_restart. Possibly other issues.

If local client was added at connect, the client number was sent in gamestate and appears to be fine.
spearmint: Fix running server frames on non-dedicated client

Clamping to 5000 msec when running server on client causes too
many server frames to run at start up (probably vid_restart too?).

This resulted in tempEntity for EV_PLAYER_TELEPORT_IN to be removed
before the client finished starting up.
spearmint: Get MAX_ENTITIES_IN_SNAPSHOT from CGame
spearmint: Pass connection state to CG_INIT and CG_CONSOLE_COMMAND
spearmint: Remove client numbers from uiClientState_t
spearmint: Remove AS_MPLAYER
spearmint: Remove CG_EVENT_HANDLING from public CGame API
spearmint: Move usage of CG_WANTSBINDKEYS into CGame

Instead of making a VM_Call to see if we should make a VM_Call, just let cgame handle it.
OpenGL2: Remove and force r_softOverbright.
spearmint: Remove lcIndex and numPSs from snapshot_t

Reorder playerStates and areamask using lcIndex when creating snapshot for cgame.