I'd better reconstruct and summarize what I meant to do here before I forget it again.
Implement code to enforce the restrictions of tor-spec § 5.1.2 on a list of link specifiers.
Make a CircTarget that holds a bunch of linkspecs and outputs them in the order given.
Make sure that the above CircTarget can get converted into an OwnedCircTarget with the right (lack of) cleanups and rules.
Make sure that linkspec-sorting is done in the right places and not the wrong ones: We want to sort the linkspec lists we generate, but not the ones we get in an INTRODUCE message or a hsdesc.