Iss244

fixes #243 and fixes #244
Created new url_path_join function that handles slashes in urls more gracefully. 
Agreed.  I'll change it