Fixed proposal history click event. The selectionchanged event does not
exist. It should have been selectionchange.
Separated the majority of the game ui and it's setup into it's own file.
Also moved the game state logic into a separate 'store' file.
Removed methods from the global scope in game.js.