Started adding logic for full Soldiers game test.
Merge branch 'attacks' into game
Bring new attacks logic back into game.
Merge remote-tracking branch 'upstream/master' into game
Reintegrate upstream master to allow conflict-free pull request.
Replaced logic to use BMDie->max instead of BMDie->mSides
Removed BMDie properties mSides, mSkills, and mRecipe
Corrected array notation that is not compatible with PHP 5.3
Merge pull request #25 from blackshadowshade/game

Checks out fine on pagoda for me.
Corrected loading of buttons by name
Updated BMDie::create_from_string() to allow the die recipe to be cached
Changed BMGame->swingrequests to BMGame->swingRequestArrayArray, and changed BMGame->request_swing_values accordingly
Changed order of game states, so that specifyDice now comes after the dice have been added to the game.
Changed syntax of activate() to remove the required PlayerIdx parameter, instead shifting it to a class property
Changed syntax of add_die to use the inherent BMDie->playerIdx property
Removed behaviour from addDiceToButton, since this will be replaced by a database call
Added logic for BMGame->specify_dice()
Corrected logic so that proceed_to_next_user_action() works correctly
Corrected logic for doNextStep during startTurn so that proceed_to_next_user_action() stops when the attack has not yet been specified
Added swingValue tests
Merge pull request #27 from blackshadowshade/gameV2

Second attempt at integrating BMSwingDie into BMGame