* trivial change to BMGame.php
* undo that change
Added skill ordering so that die hooks fire in the correct order
Corrected capitalisation of property 'gainedInitiative'
Corrected capitalisation of property 'gainedInitiative' in Game.js
Merge branch 'master' of github.com:buttonmen-dev/buttonmen into 441_typeerror
Merge pull request #473 from blackshadowshade/456_chance_message

Winning initiative by using chance now triggers the correct message
Merge pull request #472 from blackshadowshade/453_null_order

Added skill ordering so that die hooks fire in the correct order
* refactor Game.js to use Api.game instead of Game.api, and to use the new Api.js POST wrappers
* also update tests to match code changes
* move playerWLTText() function to Api, and make Api not invoke any functions from Game
Merge branch 'master' of github.com:buttonmen-dev/buttonmen into 441_typeerror
* disable asynchronous processing entirely in test_Overview.showOverviewPage
* retain chat box contents when redrawing page after failed attack
* retain previous attack die and type selections during an invalid attack
* make jshint happy
* retain focus die values when focus dice haven't been turned down far enough
* change focus die turndown failure text
* make jshint happy
* allow loopfunc in jshintrc (we use it other places already; for some reason this is the first time jshint noticed)