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. 
To load a json file, use
```python
with open(self.config.elasticsearch_base_settings) as f:
    es_settings = json.load(f)
```