Add ability to reindex all content in a repository or a subset.

Fixes https://www.pivotaltracker.com/story/show/65168574