'resolve url' option support + docs + tests

Fixes #20