Support base urls with paths.
Merge pull request #17 from mpareja/baseurl_paths

Support base urls with paths.