service.bat properly configures mem settings

service.bat converts X(m(s|x)|ss) to MB/KB and uses dedicated arguments to the underlying JVM DLL
empty/unset JAVA_OPTS no longer trips commons daemon
fixes #3785
remove unused setting
remove unused class
Print Java Version during Validate
Add indexUUID to mapping-updated and mapping-refresh events and make sure they are applied to an index with same UUID.

This can go wrong if indices with the same name are repeatably created and deleted.

UUIDs can not be null anymore. If UUID is not available `_na_` will be used as a value.

Also - some minor clean up in ShardStateAction where shard started events could be added twice to the to-be-applied list where the second instance will be ignored.

Closes #3783
introduced NodeSettingsSource in the test infrastructure os tests with scopes TEST & SUITE without an explicit numNodes definitions will fall back on the nodeSettings(int) callback
Returning useful exception when sorting on a completion field

Closes #3747
added a ToXContent implementation to NodeStats
cleanup testcase
Expose several options from MockDirWrapper via index settings

Index settings can now override default behavior for 'double write'
and 'no delete open files' on MockDirectoryWrapper if tests use these
options in a legit. way. ie. in a restore situation a double write
is a legit operation.
Move Mock Store impls to test package
additional places not to do field conversions
serialize timestamp on the response
Catch RejectedExceutionException in ZenPing et al.

If nodes are shutting down we close thread pools and throw
'EsRejectedExcutionException'. This commit handles these exceptions
gracefully if throw during Ping execution.
catch indices lifecycle failures and log them
make sure we catch index/shard lifecycle failures, and properly log them
Catch EsRejectedExecException on cluster info reschedule
Cut over remaining tests to 'AbstractIntegrationTest'
Throw ESIA if required field 'patterns' is not present in filter config.

If 'pattern_capture' tokenfilter is create / mapped without a 'patterns'
settings we now throw an exception since this is a misconfiguration and
likely due to the similar settings on related token filters.

Closes #3808
Add more anchor links to documentation

Related to #3679
Uniquify anchor links to fix asciidoc/docbook generation