Supporting adding non-edition documents from hash.

Uses an optional `_type` parameter in the hash.
Defaults to "edition".
Merge pull request #222 from alphagov/support-adding-non-edition-documents

Supporting adding non-edition documents from hash.