Provided a method for URL resolution.

With this, you can subclass Markdown and override resolve_url to do
things like updating relative links to absolute, or rewriting links
based on where the output is to be delivered.