Support the fragment form of Gerrit URLs

Some folks may copy the URL out of their brower location field
rather than using the permalink when creating a Gerrit Depends-On,
so support that as well.

Change-Id: Ie35fde41befcb0c5c062fcc0417afeed1cf60a77
2 files changed