Fixed a few bugs in the test code, cleaned up a little logic in the model and updated the game controller with the proper database requests.
Merge pull request #20 from heaphyg/game_model_tests_update

Fixed a few bugs in the test code, cleaned up a little logic in the mode...
updated the controller with with new board and piece tables. we aslo return true and false as strings to the view
Rebased master into controller_updates branch.