Create SchemaConfig object

We want to merge together parts of various different files to build the
elasticsearch schema config. This class provides the same format the app
is currently expecting and allows us to add extra logic into generation
of the config.
Extract synonyms and stems to separate files
Split doctype mappings for default index

Mappings for the default index now contain a merged version of the core
doctype properties (from `config/schema/default/core.json`) combined
with each individual doctype's properties. This is generated from each
file present in the `config/schema/default/doctypes` directory.
Add schema for cma_case doctype format
Strip the details key from doctype properties

The details key contains information useful for other applications but
not intended for elasticsearch. There will be future work to expose this
information in a useful way.
Make delete action handle a _type parameter

Makes Index#delete take type and id instead of just a link.

This allows us to delete a document with a type other than edition,
without having to add special cases to the `link_to_type_and_id` method.
Add updated_at field to core doctype schema

To be able to support finders from rummager we need to be able to sort
documents by their updated_at timestamp. We don't ever want to search on
the field, just sort on it, so index it but don't include it in `_all`.

Note that whilst this field is common across all doctypes, it's not
mandatory. Until everything is using the new content store some things
will have null updated_at timestamps.
Add opened_at and closed_at fields to cma cases

These fields are shown in the search results in finders frontend, but
aren't used for searching or filtering so they don't need to be indexed.
Merge pull request #250 from alphagov/split-schema-config

Split schema config to support multiple doctypes
Add a filter to exclude specialist_sector documents

This modifies UnifiedSearchBuilder, adding a new filter to all search 
queries that excludes documents in the specialist_sector format.
Include the sectors filter in test query_options

This is a first pass at trying to fix tests broken by the inclusion of
the new filter, by including the specialist sectors filter in the 
default query used by most tests when building stubs.
Fix UnifiedSearcherTest
Fix UnifiedSearchBuilderTest
Merge pull request #253 from alphagov/register-specialist-sectors-in-rummager

Exclude specialist sector documents from unified search results
Make delete path work when queueing enabled

The delete action takes an optional `_type` parameter, but the queueing
enabled branch of the action hadn't been updated to use it.
Make DeleteWorker#perform backwards compatible
Merge pull request #255 from alphagov/fix-queued-delete

Make delete path work when queueing enabled