SDL 1.2: fix input of non-ASCII.
SDL 1.2: fix deletion and Ctrl+key in the in-game console.
Build detour & nettle only once (if needed).
Fix listing of items (un)locked.

Problem was of the form 'sprintf(buffer, "%s…", buffer, …)'.
Merge branch 'master' into engine-upgrade

Conflicts:
	CMakeLists.txt
	src/engine/client/cl_keys.c