Added message to state in endgame function, which is then displayed by statechanges.js. Need to next figure out a way to refresh the gameboard (request a new initial state from the server)
moved instantiation of ai object to difficulty.py to avoid the issue with multiple hal objects being created on refresh, which confuses the datastore and score updating queries
added endgame functionality to the view, so that when a game or round ends, the view will interact with the user, displaying the results of the game or round as well as asking them what they would like to do next. This required changes to statechanges.js, game.py, game.html, as well as the addition of a new html block (included via jinja) called popup.html
committing popup.html