make sure we give a copy of base._path to new url to not modify base

add test for unchanged href
Merge pull request #3 from azakus/fix-base-path

Fix base path