Initial support for C++ in gamecode, currently only compiles with -fpermissive
Preserve g_layouts across map changes.

This needs to be properly fixed. It's a mess…
Fix HUD reload (via menu) and /me.
Use /delay instead of /wait (menu script, starting a map).
Cvars may need flags to be correctly set if created by a script. Allow this.

This fixes various settings such as wallwalk toggle, team overlay display...
Fix input of non-ASCII in the in-game console.
Fix curses console input.
Fix stack alignment issues on MinGW
Add some comments for previous commit
Fix Cbuf_ExecuteText. EXEC_APPEND now assumes complete commands.
(This is safe since there is no instance where partial commands are sent.)
Ensure that download-pk3.sh remains executable.
Bump version no. for point release.
Update debian/changelog.
Make the gamelogic compile in C++

Involves a lot of casts, it could have been done in a smarter way, sometimes.
Merge branch 'master' into engine-upgrade/c++game

Conflicts:
	src/gamelogic/cgame/cg_consolecmds.c
	src/gamelogic/cgame/cg_draw.c
	src/gamelogic/game/g_active.c
	src/gamelogic/game/g_buildable.c
	src/gamelogic/game/g_cmds.c
	src/gamelogic/game/g_confidence.c
	src/gamelogic/game/g_weapon.c
We don't want -fpermissive when compiling C code – gcc complains.
Remove -fpermissive, was used for before d3278daba5d925b2 (Make the gamelogic compile in C++)
One more -fpermissive fix.
Fix possible undefined behaviour on deletion due to non-virtual destructor.
Const correctness.