Fixing test data so quote links are valid URLs.
Fixing up our link usage to parse out the host and path just like the PHP version and to properly handle nil input, mailto: links, and callto:  links.