Define url resolver() when "resolve url" option is true.
Merge pull request #6 from mzgoddard/resolve-url-option

Define url resolver() when "resolve url" option is true.