Merge pull request #50 from cgolubi1/infrastructure

autoloading!  finally!
- Set up test database connection
- Added option to specify that BMInterface uses the test database connection
- Added empty unit test for create_game() and load_game()
Changed code in BMInterface to allow unit tests to run to completion
Changed code to load button recipes from the database
Removed old comments from BMButton and BMButtonTest
Renamed $game->lastWinnerIdxArray to $game->isPrevRoundWinnerArray to better reflect the contents
Added unit tests for creation and loading of a newly constructed game
Rewrote JQuery that generates table in overview.html to define an onClick event that sets the chosen game as a session variable
Rewrote logic to use session variables to identify game ID and active player ID
Started writing logic to save game to database
Updated die status enumeration to include 'DELETED', which will allow for safer die updating logic
Added logic to save (active) dice to the database. Currently, the unit test fails because there is no matching logic to load active dice from the database.
Added basic logic to load dice from database.
Added test cases for die sides after loading from database
- Added logic to load swingRequestArrayArray from database
- Tidied up unit test code for die loading
Added logic to load swingValueArrayArray from database, and added unit tests for swingRequestArrayArray and swingValueArrayArray
Re-enabled choose_swing.html
Replaced currentPlayerIdx mocking code with live determination from database
- Updated BMInterface->create_game and BMInterface->save_game to force a proceed_to_next_user_action()
- Added type hinting
Shifted BMGameState test cases to BMGameStateTest.php