[TEST] Made cat.count REST test more readable
Fix AndDocIdSet#IteratorBasedIterator to not violate initial doc state

AndDocIdSet#IteratorBasedIterator was potentially initialized with
NO_MORE_DOCS which violates the initial state of DocIdSetIterator and
could lead to undefined behavior when used in a search context.

Closes #5049
Migrating NodesInfo API to use plugins instead of singular plugin

In order to be consistent (and because in 1.0 we switched from
parameter driven information to specifzing the metrics as part of the URI)
this patch moves from 'plugin' to 'plugins' in the Nodes Info API.
[DOCS] Add GitHub community river plugin
Made possible to dynamically update `discovery.zen.publish_timeout` cluster setting

`discovery.zen.publish_timeout` controls how long the master node is going to try and wait for all the nodes to respond to a cluster state publish before going ahead with the following updates in the queue (default 30s). Up until now changing the settings required restarting each node. The setting is now dynamic and can be changed through the cluster update settings api.

Closes #5063
Remove `custom_score` and `custom_boost_factor` queries

`custom_boost_factor` and `custom_score` were deprecated in `0.90.5`
and their documentation was removed already in `1.0`. This commit
removes all support for those queries since they are supercede by
`function_score`.
[Docs] Remove `custom_score` from documentation and add a migration
section.
[DOCS] Fix typo in rename_pattern in snapshot/restore documentation
Added test #5078
[DOCS] adding a note on python client versioning schema
Beefed up DeleteByQueryTests to run not just against a single document
[DOCS] Added a table with 0.90/1.0 compatibility and corresponding instructions
[DOC] Updated the Ruby gem version for Elasticsearch 0.90.x
[TEST] disabled replicas in validate query test
[DOCS] added `discovery.zen.publish_timeout` to the dynamic settings list
[DOCS] Documented `discovery.zen.publish_timeout` setting
Improved ClusterSettingsTests

more assertAcked, checked that the `discovery.zen.publish_timeout` has been changed in `DiscoverySettings`, removed restriction on number of nodes, doesn't seem needed.
Minor cleanups in ShardsLimitAllocationDecider
[DOCS] added coming tags for `zen.discovery.publish_timeout` made dynamic
Made highlight query also work in the percolate api.