Add support to browse snapshot branches targeting contents or directories
The web application currently only support the browsing of snapshot branches targeting revisions.
We recently added new loaders that can produce snapshots whose branches target contents or directories so we need to update the web application to allow their display.
Migrated from T4669 (view on Phabricator)