Fix switching between commits in the diff viewer

Review Request #8319 — Created Aug. 4, 2016 and submitted — Latest diff uploaded

Information

Review Board
dvcs

Reviewers

The RB.DiffViewerPageView was improperly generating the query string
for the selected commits on the page, which would lead to always
requesting commits from the server. This lead to the commit table always
resetting itself.

  • Verified switching between commits works correctly.
  • Ran JS tests.