Fixes Connexions/cnx-upgrade#21
Fixes the resolver to parse reference strings by possible type.
This revises the string parsing to use a regex that attempts to recognize paths to resources and internal document references.
only message if there are bad refs
fix_reference_urls returns bad refs as well