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. 
Is `100` appropriate? Is this a significant enough sample size? How long does this take in the real world?