Convert lobby from polling to sockets
Now while waiting in the lobby, it no longer polls every 5 seconds and reacts to socket events instead. Games list will update when new games are added and when players join existing games.
Remove players from games when they disconnect, and kill zero player games.
When players disconnect from the game socket, the player will be departed from the game's players list. In addition, when the last player departs, the game is removed from the gamesList.
Merge pull request #4 from christothes/master

Convert lobby from polling to sockets