Moved game state logic from GridPanel to GameState

GameState is intended to handle actions and logic, while GridPanel is
intended to be a fairly thin interface layer between the user and
GameState.