[TESTS] Tentative fix of BigArrays byte-accounting checks.
Return missing (404) is a scroll_id is cleared that no longer exists.

Closes #5730
Update shade-plugin to 2.3

Shade-plugin 2.2 does not work with JDK8 (see http://jira.codehaus.org/browse/MSHADE/fixforversion/19828)
[TESTS] Disable BenchmarkIntegrationTest#testSubmitBenchmark until it is fixed.
[TEST] Make sure all shards are allocated before the delete type is being executed.
More Like This: Fix correct use of size and from parameters

More Like This API would not take into account 'size' and 'from' in request body parameters.
Instead these values would always be overriden by the default values of REST parameters
'search_size' and 'search_from'.

Closes #5981
Fixed validate query parsing issues

Made sure that a match_all query is used when no query is specified and ensure no NPE is thrown either.
Also used the same code path as the search api to ensure that alias filters are taken into account, same for type filters.

Closes #6111 Closes #6112 Closes #6116
Detect unsupported fields after query in validate query api

The validate API was failing to reject JSON input that had unsupported
fields placed after a supported field. This was causing invalid requests
to be reported as valid.

Fixes #5685
restored @Test annotation in SimpleValidateQueryTests
Made the include and exclude support for terms and significant terms aggregations based on global ordinals.

Closes #6000
add failing test for shard_min_doc_count
refactor: unify terms and significant_terms parsing

Both need the requiredSize, shardSize, minDocCount and shardMinDocCount.
Parsing should not be duplicated.
refactor: make requiredSize, shardSize, minDocCount and shardMinDocCount a single parameter

every class using these parameters has their own member where these four
are stored. This clutters the code. Because they mostly needed together
it might make sense to group them.
I hope that this makes the code more readable and also that if avoids
errors such as mixing up the int/long parameters in the future.
use shard_min_doc_count also in TermsAggregation

This was discussed in issue #6041 and #5998 .
add documentation of `shard_min_doc_count`