closes session in db when all users vote

This closes issue #177 

Test it by having all the users in a game finish voting, and see the game move to the closed games table in the games tab.