Convert js/resources/collections to ES6.
Review Request #8062 — Created March 16, 2016 and submitted
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 changedRepositoryCommitsCollection
to use$.param
instead of encoding
URL parameters by hand.
Ran js-tests.