Support existing temp dir
(cherry picked from commit 75af6b1)
Refactor ESService in ESCOnfiguration
Merge pull request #47 from obiba/es-config

ES config