Add the Url::from_directory_path method.
Backport to rustc 64b990d 2014-06-26