[lightgames] Reset 'blink' state of lamps
[lightgames, mastermind] Last-minute bugfixes and whatnot

* Mastermind:
  - Don't allow code selection phase to begin until both players have joined
  - Tell the faster player to wait during code selection phase
  - Properly reset toggled lamps on turnover
  - Less hardcoding by making the 'colors' template var a proper list
  - Fix bug in calculating the clue response ("completely correct" didn't have
    priority as it's supposed to)
  - Fix typo when generating changeset to update lamps with clue

* Game base template:
  - Factor out common CSS into its own file (common among differently branded
    base templates)
  - Separate file for some common game functions that games might want to use
    while the page is loading (thus it's loaded in <head>)
  - Introduce a `templateConfig` variable allowing a template to control some
    parameters for grid generation (use of images, padding cells)
[playthehouse] Add branded base template to the repo
Merge remote-tracking branch 'refs/remotes/origin/master'