Add field data mapping support

Closes #867.
Merge pull request #899 from elasticsearch/feature/field-data-mapping

Add field data mapping support