Refactored some stats code.

Made update_roles_stats() and update_game_stats() a bit cleaner.