Adding missing piece for GUID.
Merge pull request #345 from deepy/master

Adding missing piece for GUID.
Mega improvmements to SP's startup variable support from MP. (init-only cvars work correctly)
Mega improvmements to SP's cvar code from MP:
- Cvars use hash lookup now.
- Max Cvars bumped to 2048.
- Using ! in a bind on a cvar is correct now.
- print <variable> command for printing info. (same as /cvarname but useful for when cmd+cvar clash)
- unset <variable> un-sets a cvar entirely if its user created.
- cleaned up set/sets/seta/setu
- /cvarname <with args> now will accept all args instead of just the first
- toggle cmd improved
- cvar range checking code added (though not much actually uses it yet)
- latched+cheat cvar escaping fixed
- cheat cvars aren't hidden from cvarlist anymore
- Possibly a few other misc things I missed.

Fixed and cleaned up SP dll loading in windows.
Now will try the following (in this order):
- fs_basepath/fs_game/<gamename>.dll
- fs_homepath/fs_game/<gamename>.dll (if fs_homepath exists)
- fs_cdpath/fs_game/<gamename>.dll (if fs_cdpath exists)
- fs_basepath/base/<gamename>.dll (if fs_game is not empty)
- fs_homepath/base/<gamename>.dll (if fs_game is not empty, if fs_homepath exists)
- fs_cdpath/base/<gamename>.dll (if fs_game is not empty, if fs_cdpath exists)
- fs_basepath/<gamename>.dll (this is the GameData folder usually)
- fs_homepath/<gamename>.dll (if fs_homepath exists)
- fs_cdpath/<gamename>.dll (if fs_cdpath exists)
- <gamename>.dll (this is cwd aka exepath)
Correctly handle commandline args in SP on non-windows OS'.
Nothing to see here whitespace fix.
Reset cheat cvars on cgame init in SP as well.
Move BASEGAME define to q_shared in SP.  Removed files.h usage from SP's sys_main.
Silence animation warning in MP for ROOT.
Removed now unused cvar from common.cpp in MP.
Change the comment line in MP's config file to reflect OpenJK and not original game.
Small cleanup in MP's cvar.cpp
Same as previous commit but for MP.
Plus migrate the mac bundle loading code to filesystem now that filesystem code is localized to files_*.cpp.
Eh whoops fix mac compile.
Adds minimize command to SP. Win32+SDL backends.
Adds minimize command to MP SDL backend.
Apparently SDL2 changed the minimize function.
Merged ioquake/ioq3@81909bb to MP and SP.
Fix text getting appended to vid_restart in command buffer
I was getting unknown command "vid_restart-button2" warning on OSX when trying to use alt-return to toggle fullscreen.
Merge remote-tracking branch 'upstream/master' into qvmtest