randomize ports on specific transport and disco tests
improve test
the test checks that even though some shards might not be active, search will still work
improve test to be more descriptive when it fails
don't use guava ordering sorted copy, since it does 2 copies (instead of 1)
simply use regular toArray and sort on it (we do need to copy it)
move char array caching to streams
wait till connection callback have executed on setup
remove RamUsage and use Lucene one
use BigDoubleList on all cases of geo point field data
same with other field data implementations, prefer to use the paged list compared to single long array in all cases
remove RandomStringGenerator, using random strings from randomized testing
remove unused class
cleanup
- remove Digest/Hex, only used in test, directly use MD5 there
- don't use Closeables and use IOUtils
- remove duplicate Classes usage and unused LongsLAB
cleanup deprecations / warnings
cleanup unused classes (not needed with Lucene 4.4)
remove our own version of highlighting boundary scanner
the bug that we fixed in it was already pushed to the lucene version
FuzzLikeThis*QueryBuilder and MoreLikeThis*QueryBuilder do not send failOnUnsupportedField if not explicitly specified.

Closes #3402 , a better solution to #3374
Added support for acknowledgement from other nodes in open/close index api

The open/close index api now waits for an acknowledgement from all the other nodes before returning its response, till the timeout (configurable, default 10 secs) expires. The returned acknowledged flag reflects whether the cluster state change was acknowledged by all the nodes or the timeout expired before.

Closes #3400
Updated test to reflect added acknowledgement from all nodes in open/close index api

If it's acknowledged all the other nodes already hold the latest cluster state, thus we can search on the closed index and be sure we get an error back
Renamed MetaDataStateIndexService to MetaDataIndexStateService for consistency
completed renaming of MetaDataStateIndexService to MetaDataIndexStateService
Added version support to mget and get apis, that only will perform the get operation if the version of the document to be fetched matches with the provided version.

Both get and mget apis now support the following additional parameters: `version` and `version_type`.

Closes #3404