Rename Unpublishing#edition_url to #document_path

Adjust the validation to check the path rather than the full URL, and
make it handle deleted editions.
Fix typo
Handle deleted editions in html attachments redirect