Fixes bug 1013322 - Generate the elasticsearch mapping from the master list of fields.

@peterbe r?

Note that this feature is turned off by default through configuration, using the ``use_mapping_file`` option in ``ElasticsearchCrashStorage``. I want to turn it on on stage first and make sure the new mapping way doesn't break indexing. After a week or two of successful indexing, we will turn it on on production. 
```python
        # Try the mapping. If there is an error, an exception will be raised.
        # If an exception is raised, the new mapping will be rejected.
```