Structural refactoring
Structural refactoring

 - move a few methods around trying to find the most logical place
 - adopt custom jQuery events as the way to indicate status change and
   mine click from the cells to the upper game level instead of changing
   the game status directly

villez/sweepsweep,villez/sweepsweep