fix NPE in ES HTTP sanity checks. #506

Conflicts:
	graylog2-radio/dependency-reduced-pom.xml
	graylog2-server/src/main/java/org/graylog2/indexer/Indexer.java
refactor shutdown for ES connection failure during startup

there were some livelocks involving the latches used in starting the inputs

fixes #517