Add Snapshot, Content and Directory objects as target in branch
A branch target can be a snapshot, alias, revision, release, content or a directory. This commit adds support for Snapshot, Content and Directory objects.
Related to #4309 (closed)
Migrated from D7969 (view on Phabricator)