Use options hash for create_edition_and_attachment

More options than the two are needed, so swap the ordered arguments to a
hash and use fetch to set defaults.
Build unpublishing in create_edition_and_attachment
Fix Unpublishing regex validation

It wasn't asserting that the host was followed by a / so it would accept
URLs like https://www.gov.uk.example.com/other-site.
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
Merge pull request #1166 from alphagov/html-attachment-on-deleted-publications

https://www.pivotaltracker.com/story/show/62469036

Fix html attachment on deleted unpublished publications