Clean up tests.

These commits simply make the tests way more readable and easy to
follow.  They should also make future tests easier to read and write
because they create new common functions that will occur frequently
throughout the rest of the upcoming tests.
Merge https://github.com/geisler/game_contest_server into dev