Add java documentation for aggregations

Buckets:
--------

* terms
* range
* global
* filter
* filters
* missing
* nested
* reverse nested
* children
* significant terms
* date range
* ip range
* range
* histogram
* date histogram
* geo distance
* geo hash grid

Metrics:
--------

* min
* max
* sum
* avg
* stats
* extended stats
* value count
* percentiles
* percentile rank
* cardinality
* geo bounds
* top hits
* scripted metric
[TEST] Mute CircuitBreakerServiceTests.testMemoryBreaker

Relates to #8710
[TEST] wait for all shards to be allocated before IndexStatsTests runs
Docs: Fixed bad link to top-hits agg
[TEST] Move NoMergePolicyProvider into it's own class
[TEST] Ensure that all flushes happen on PeerRecovery tests
Fixing typo

Closes #8713
Remove java facet documentation in master

As we did in reference guide, we need to remove facet java code in master branch.
java: QueryBuilders cleanup (add and deprecate)

Some QueryBuilders are missing or have a different naming than the other ones.

This patch is applied to branch 1.x and master (elasticsearch 1.5 and 2.0):

Added
-----

* `templateQuery(...)`
* `commonTermsQuery(...)`
* `queryStringQuery(...)`
* `simpleQueryStringQuery(...)`

Deprecated
----------

* `commonTerms(...)`
* `queryString(...)`
* `simpleQueryString(...)`
[TEST] Ensure we have a mapping for all types on open/close
Remove unused member / argument on Store