Refactor out the code for centering diff collapse buttons

Review Request #8444 — Created Sept. 27, 2016 and submitted — Latest diff uploaded

Information

Review Board
release-3.0.x
d1df202...

Reviewers

The code for centering diff collapse buttons has been refactored into the
RB.CenteredElementManager. This view centres a set of elements within
their respective container elements.

Verified the collapsable diff context and diff viewer collapse buttons
still centred correctly.