resolves #417 update xref to support interdocument references
make refid lookup smoother
Merge pull request #570 from mojavelinux/xref

resolves #417 update xref to support interdocument references