Iss244

fixes #243 and fixes #244
Created new url_path_join function that handles slashes in urls more gracefully. 
Basically, if you search for it and the only line in the module which hits the search is the import statement, you most probably don't need to import it (there are exceptions) - I am surprised pylint did not catch this.