Use pluralised form for AAIB 'name'
Merge pull request #177 from alphagov/bug/correct-name-for-aaib-schema

Use pluralised form for AAIB 'name'
Fix bug where editing an invalid AAIB report 500'd

All pages which rerender a form need the model to be wrapped in a view
adapter, otherwise on validation failure we attempt to redisplay the
form, which then 500's.
Merge pull request #178 from alphagov/update-to-invalid-bugfix

Fix bug where editing an invalid AAIB report 500'd
Importer set up initially to import AAIB reports

From `import/metadata` (json files, see spec/fixtures/import) and
`import/downloads`, import AAIB reports.

Also create an optional decorator used to validate that all attachments
for a document have been referenced in the body of that document.

Worked on by myself and @bestie
Handle duplicate titles.

 * For documents which already have a newer version, just skip it.
 * For documents which have an older version, delete that version and
   import the newer instead.
String body substitutions (PDF image) on AAIB reports
Import all the AAIBS
Update report type mappings and schema
Improve import logging

* Log the filename
* Log duration in ms
* Log errors when encountered (and continue)
* Allow arbitrary data to be logged
Correctly map aircraft categories to schema fields
AAIB import mapper strips leading whitespace