Recognize more hg metavars

This improves the accuracy and helpfulness of many of the generated completions
for hg.