Structural refactoring
Structural refactoring

 - moving grid initalization and random mine placement methods into Grid prototype
 - cleaning up duplication from initial game start and restart
 - renamed the global "state" into "game" and made it responsible for
   creating and initializing the grid it contains

villez/sweepsweep,villez/sweepsweep