Trim hrefs before they are checked for hrefType.

 Avoids treating hrefs with an accidental leading space as relative.

I ran into this when testing hyperlink on some real life data. Accidentally started scraping all content on twitter.com because of it :)

I'll write some test cases for this tomorrow, so don't merge in yet