implemented GameEnd API call to return to joinroom page
non-master players are redirected to main page after game ends
only master sees start button and nbpp box
removed error case in ajax for gamestate
Merge pull request #137 from hfaran/endgame

Endgame Front-End functionality