Convert js/resources/collections to ES6.

Review Request #8062 — Created March 16, 2016 and submitted — Latest diff uploaded

Information

Review Board
release-2.6.x
6717f06...

Reviewers

This change moves the resource collections over to ES6. This is a relatively
straightforward conversion, and the only part that isn't 100% equivalent is
that I changed RepositoryCommitsCollection to use $.param instead of encoding
URL parameters by hand.

Ran js-tests.