Add /crash dev command

Throws an exception and crashes the game. Useful to test the
shutdown sequence.
Merge pull request #5701 from pavlos256/dev-crash

Add /crash dev command