* improve test coverage of Api.js and remove a bit of obsolete logic
  from before active games and completed games were split
* GAME_STATE_END_GAME is no longer needed in Api.js, because responder
  tells us which games are completed