[API] [1.0] Updated the "Put Index Mapping" API to the 1.0 changes

See: http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/_indices_apis.html#_indices_apis
[API] [1.0] Updated the "Get Index Mapping" API to the 1.0 changes

See: http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/_indices_apis.html#_indices_apis