Fix unit test fallout with the latest branches/commits changes.

Review Request #5988 — Created June 12, 2014 and submitted — Latest diff uploaded

Information

Review Board
release-2.0.x
551dafd...

Reviewers

Some of the API tests were failing with the new changes for branches and
commits. This updates them to provide the data we need for the tests to
pass, and to update function signatures in TestTool to take the new
parameters.

All unit tests pass.