make UI tests use responder test output

This pull sets things up so that the phpunit tests run before the QUnit tests, the phpunit tests produce JSON output of each game state, and some of the QUnit tests use that output.

I was planning to do some deeper tests of QUnit output, and made a new function in BMTestUtils for that purpose, but i haven't actually written any tests for it yet.

Jenkins: http://jenkins.buttonweavers.com:8080/job/buttonmen-cgolubi1/369/