Add toString() method to Segment.java for debugging purposes
[TEST] use a default host name if localAddress is not available

Closes #7409
[Tests] verifyThreadNames should account for new threads of shared cluster

The verifyThreadNames starts a node and checks that all new threads on the JVM are properly named. The current test uses the name of the new node which sometimes fails because our shared cluster spawns a new thread which is properly named but for not for the new name.

The commits relaxes the requirement of the test and on verify the threads are properly named (but not necessarily of the new node)
[TEST] use CFS consistently to not trigger single segment merge without force flag
Internal: made original indices optional for broadcast delete and delete by query shard requests

Shard requests like broadcast delete and delete by query, that needs to be executed on primary and all replicas, get read and written out to the transport on the same node. That means that if we add some field version checks are not enough to maintain bw comp since a newer node that holds the primary might receive the request from an older node, that didn't provide the field. Yet, when writing the request out again to a newer node that holds the replica, we do try and serialize the field although it's missing. The newer fields just needs to be set to optional in these cases, in addition to the version checks.

Re-enabled testDeleteByQuery and testDeleteRoutingRequired bw comp tests since this was the cause of their failures.

Closes #7406
[Tests] NoMasterNodeTests make timeout checks less sensitive

Also remove catching of MasterNotDiscoveredException in bulk operation it is only set on a per item basis
[Tests] testNodeVersionIsUpdated stopped but didn't close it's node
[TEST] use more verbose assertion in IndicesRequestTests
[TEST] Agg may not be a instance of StringTerms, but UnmappedTerms, so use common Terms class instead
Nested: If the `_type` field isn't indexed nested docs must be filtered out.
[DOCS] Document NOT as a simple_query_string flag

Fixes #7426
Test: Fixed pluggable transport module test to support transportclient

Also made sure, that only a change of requests is tested for and not
an initial value, which might not be set in case of a node client.
Tests: Improve test coverage.

Close #7428
Context suggester: infinite loop in GeolocationContextMapping

Close #7433
[TESTS] Temporarily disable FileBasedMappingsTests.
Test: Fixed the regex in cat.indices/10_basic.yaml

And renamed the file from .yml to .yaml
[TEST] fix issue clearing fielddata breaker introduced in 6950c38a0436ec937797f01fba8d7d95e6d6225f
[TEST] Explicitly clean up actions to be intercepted in IndicesRequestTests before asserting on collected requests

This helps making sure that no further requests are collected once we start asserting on them
[Internal] discovery.id.seed is ignored

Closes #7439, Closes #7437
Stats: add segments.index_writer_max_memory to see index writer's max RAM usage before buffered documents must be written to a new segment

Closes #7438

Closes #7440