Started new feature to handle importing editions
Updated importing feature: include latest thinking

Read and checked by Robin.
Updated scenario definitions to include org
Added organisation_id field + validation on Import

Also refactored the tests and fixed a crash on blank csv file upload.
Pass organisation through to import from interface
Import now creates editions in the imported state
Added new ImportedAwaitingType PublicationType

PublicationTypeFinder has a special case for blank slugs to return this
new type.
Imported Speeches no longer need delivered_by set

This will break the admin UI currently for these speeches until we guard
the relevant code.
Imported rows set given default org if blank

The org that is specified when uploading the CSV is now used as the
default org if the field is blank.
Describe when we can and can't convert imported publications to draft
Editions can go from imported->draft state

They also have methods to ask if that is possible, and it should only be
true for imported models that would be valid as a draft. We changed
the validations on Publications so that imported publications are not
valid if they haven't had their publication_type set to something other
than ImportedAwaitingType.
Add UI to allow converting imported editions to draft

There is a button next to edit when the edition is
ready_to_convert_to_draft? and this eventually routes through to call
convert_to_draft! on the edition in question.
Imported speeches have temp organisation set

When importing, we set the organisation association for speeches to be
the field on the CSV, or the specified organisation when importing.

We will overwrite this if we set a role appointment we recognise when
importing, or when we set the role appointment in the admin interface,
but this helps us group the speeches in the admin interface when editors
are processing imported editions.
Imported editions can be deleted

Extend the validation relaxations from imported to deleted editions, to
allow editors to move imported editions to the 'deleted' state without
validation errors.
'Imported' speech type only valid for imports
Show temporary organisation if no deliverer yet

If the deliverer is not yet set, we want to show the organisation that
has been temporarily assigned during the import process. This is so that
we can reassign the edition if necessary to the right team for
processing, and to ensure that the organisation is preserved across
saves if the deliverer is not immediately set.
Show imported edition grouping on document list
Merge pull request #114 from alphagov/importer-validation-changes

Importer validation changes