Further refactoring to improve usability of the game logic/state when reused for an internal search (e.g. random simulation).  Performing the logic for leader selection at the end of the previous phase, so current phase can be repeated with different start states.  Extracted logic for checking if the game is done.
The IRC client now correctly propagates game state.  You can also ask the bot "QUERY STATE." in its private game channel to see what the current game state is, according to the bot.
Minor tweaks to existing bots so they are better suited for reuse as player models.