Get basic URL extraction working, with tests.
Improve link URL tests and fix Regex in lots of ways as a result.