allow specifying an url on load and save of Document

this will become the current url if the action succeeds. Now save as
does not keep the (invalid) url given on save, while it is not
necessary to check e.g. writability beforehand, as was the case.