Move RB.CollectionView into the common bundle, refactor remove a bit.

Review Request #7811 — Created Dec. 16, 2015 and submitted — Latest diff uploaded

Information

Review Board
release-2.5.x
f5f9f86...

Reviewers

This change moves the (very generic) RB.CollectionView into the common bundle,
where anyone, including extensions, can use it. This also refactors the remove
handler to use _.find and _.without, which is a bit more readable.

  • Ran js-tests.
  • Checked that this was available to extensions on all pages.