Update game state stack.

Instead of just storing the board string, we will now save the game state, which includes the board, delta remoteness, value, and possible moves. 

This will make it easier for VVH to be implemented (I fixed the calls for VVH). 

I also added the jquery.cookie library to facilitate the mid-game settings page.