Close a game without leaking memory. It should be noted that sending an SDL Quit event leaks memory
Added tag Hedgewars-iOS-1.3.2 for
changeset 652a199d4f38
get rid of that annoying 'Invalid state: in Lobby' message after room being closed or player being kicked from room. (the frontend always tried to leave the room he already left again)
reviewed the build system and parts of the previous merge, performed some code cleanup
some more cleanups and refactoring.
functional changes: when generating random hog names avoid duplicate names (if possible)