Crash in gameViewModel when gameId is an array
When responding to the connectToGame event, the socketIO packet parses the gameId and playerId values as single member arrays. When gameId is passsed to getGame as an array, I was seeing a crash in gameViewModel because the return value was undefined and was being passed to JSON.stringify.
More fixups of gameId and playerId arrays
When gameId or playerId is passed as an array instead of a value to the game module, bad things sometimes happen.
Merge pull request #3 from christothes/master

Crash in gameViewModel and other places when gameId is an array