When creating a repository, make sure there are no repositories with the same name, deleted or active.
Fix API visibility for the repository_revisions index.
Expose the show method anonymously.
Merged in 11734:e059c6607f34 from stable.