Removing Trailing slash from parent url

Making sure Trailing slash is removed from parent url while building resource url in Path.base
Merge pull request #478 from mohabusama/master

Removing Trailing slash from parent url while building current resource url