Implement the /mode command

This allows administrators and management members to switch the gamemode
of themselves, or another player, to any of the other available
gamemodes.