Use blocking call to queue and null safe it.
Merge branch 'master' of https://github.com/ingarabr/metric-insights

Conflicts:
	src/main/java/com/github/ingarabr/mi/EsWriter.java
Use logger
Merge branch 'master' of https://github.com/ingarabr/metric-insights

Conflicts:
	src/main/java/com/github/ingarabr/mi/EsWriter.java
Merge branch 'master' of https://github.com/ingarabr/metric-insights
Use template for time-based indexes.