[TEST] fixed error message in REST tests runner
Check ThreadInfo[] for null element if thread are not alive.

If a thread is not alive getting ThreadMXBean#getThreadInfo(long[], int)
places null elemnents in the returned array which are not repected
in the HotTheards API.

Closes #4775
[SPEC] Removed _source endpoint from get api spec, as the get_source is a different api already

Also removed custom code that was required in the REST tests due to this.
apply line ending fix only on Windows
fix for #4785
modify how local mode is run

1) create dummy directory structure with JDK6 and JDK7 when running
local mode
2) move prop.txt from ‘/var/tmp’ to ENV[‘PWD’] when running local mode
Merge pull request #4792 from mrsolo/master

build randomization, modify how local mode is run
Add transport.publish_port setting

Add transport.publish_port setting to allow users to specify the port
other cluster members should use when connecting to an instance. This
is needed for systems such as OpenShift, where cluster communication
needs to use a publicly accessibly proxy port, because the normal port
(9300) is bound to a private loopback IP address.
Add documentation for transport.publish_port
Fix HistogramAggregationSearchBenchmark.
[SPEC] path without {index} is not allowed for indices.open api
[SPEC] Removed empty paths from close and delete index apis

Although the empty paths are still registered in the java RestActions, that is only to return a meaningful error in case the index is not provided.
Index/indices are now mandatory.
Remove unnecessary optimize call that destabelizes test
[DOCS] Fixed file:/// URL for installing plugins
[DOCS] Added documentation for CAT Aliases API

Added asciidoc. Added new lines in java class.