Added `doc_as_upsert` option to update api.
This option can reduce to amount of data being send to Elasticsearch.
Closes #3195
Simplified validate check
Ensure tests wait for relocations
create 'shape' index explicitly to ensure tests don't hang
Add support for "high_freq" and "low_freq" parameters for Common Query
"minimum_should_match" parameter. High freq parameters is used when the
query has only high frequent terms.

Closes #3188
Initial work done for distributed percolator. This is not ready! (no push)
Remove percolate while indexing
add todo
add todo
Automatically filter percolate query docs if not requested. If percolate type is requested included percolate type docs.