Support for temporary urls

Include support for temporary urls (see e.g. http://techs.enovance.com/5828/how-to-use-temporary-urls-with-swift). This includes/builds on the automatic base url generation.