makes multigraph.rebaseUrl() method work correctly even when base url has no slashes; fixes #66