Add views and tests for a branches selector.

This change adds views to show a RepositoryBranchesCollection using a <select>
tag. This is used in the new post-commit review request creator.

Testing done:
- Ran unit tests.
- Used this in my post-commit UI.

Reviewed at http://reviews.reviewboard.org/r/4321/