don't xcontent locale if its ROOT for date since its the default
We should wait until the first blocking task is actual being executed.
The pending tasks can be returned out of order.
Cut over to JUnit & Randomized Runner from TestNG

For better integration with the Lucene Test Framework and the
availabilty of RandomizedRunner / Randommized Testing this commit
moves over from TestNG to JUnit.
This commit also moves relevant places over to RandomzedRunner for
reproduceability and removes copied classes from the Lucene Test
Framework.
use host address instead of host name in tests to not do host lookup
make base classes tests abstract
(for intellij)
extra space...
Fix test-bug that produced ordinals with gaps
only process an internal refresh mapping once
we only need to process a refresh on an index/type tuple once even if there are several pending, optimize to not do it several times
Add Git build info when we build a distribution
closes #3370
Fixed testConcurrentAddingAndRemovingWhilePercolating test
process internal refresh/update mapping events per index
this allows us to only create the index (if needed) for the exact duration it is needed, and not across processing of all the events
Mapping: Allow to update/merge the dynamic flag
Allow to update / merge in the dynamic flag on object or the root object mapper, meaning that it can be changed dynamically using the update mapping API.
closes #3384
Fix test that assumed a certain order of doc IDs with equal score

If the score is equal in Lucene the order of the result depends on the
actual global doc ID such that due to background merges or concurrency
these test can return different result set orders.
Expose recursion level for Hunspell token filter. Closes #3369
Generate consistent random settings across nodes

IndexGatewayTests rely on that all nodes have the same type of
storage to pass consistently. Random configs should be the same for all
nodes in the cluster.
Fix CustomScoreSearchTest that assumed a certain order of doc IDs with equal score
Add facility to index in random order

Tests are more reproducible if documents are indexed in random order
with random flushes/refreshes etc. in order to catch corner cases
where doc Ids are used for tie-breaking and tests rely on a certain
order.
Fixed hang when submitting mappings and no changes are made

Added missing listener call before return

Closes #3381
Can't share XContentBuilder across threads.
break out if there no more liveIds. This can happen if another thread emptied the liveIds.