Add “external” rel to external links.
Update tests for new nesting rules and rels.