Hide pause menu prior drawing "shutting down..." message
Rework dumping functions

Changes:
  * Add comments to explain the dumping code
  * Add support for dumping values of any type (as '<' <type> '>')
  * Add support for tables as keys in dump2()
  * Make dump2() return it's result (like dump()) rather than printing it
  * Simplify and optimize function serialization via serialize()
Sort commands and privs alphabetically in '/help'.

Also make a stray variable local.
Works for debian and a few other distributions but fails for even more so back to old order
Revert "Fix library link order"
This reverts commit b743dcb942eb1a88bce2968c08b114058738758b.
Fix setThreadName support for BSD
Fix misplaced selection box in some situations
Add item eat callback
Add success and output return values to chat commands
Fix over-poping and only push the core once
Small cleanup of hud add/remove code
Merge commit 'd76b8c6' into merge3

Conflicts:
	builtin/game/chatcommands.lua
	src/CMakeLists.txt
	src/game.cpp
	src/player.cpp
	src/player.h