Start work on a generic link extractor.

At the moment this just implements the first step of the Styliser's
link detection. It doesn't apply any of the "intelligent" corrections.
Merge pull request #1 from csmith/master

Start work on a generic link extractor.