fix lame handling of slashes when joining base url and resource uri
update version for trailing slash handling
Merge branch 'better_root_url_trailing_slash_handling'