Tests: Removed index_templates filtering from cluster.state
Revert "Tests: Removed index_templates filtering from cluster.state"

This reverts commit 28b7d13a0459a7a78b5c3872b8370337a8d5f381.
Rest-Spec: search was missing the track_scores param
Better default size for global index -> alias map
The alias -> (index -> alias) map, specifically the index -> alias one, typically just hold one entry, yet we eagerly initialize it to the number of indices. When there are many indices, each with many aliases, this is a very large overhead per alias...
closes #6504
percolator: fix handling of nested documents

Nested documents were indexed as separate documents, but it was never checked
if the hits represent nested documents or not. Therefore, nested objects could
match not nested queries and nested queries could also match not nested documents.

Examples are in issue #6540 .

closes #6540
closes #6544
percolator tests: fix compile for 1.6
va
[Query] QueryParser can return null from a query

This causes a NPE since XContentStructure checks if the query is null
and takes this as the condition to parse from the byte source which is
actually null in that case.

Closes #6722
test was missing tie-break for the two suggestions
[TEST] Prevent deletion of the second document by using different ids
applied the updated cat.allocation regexps from a414e4f2f3ce03c1cd80ca3ef7d01c370e49d5a7