Changed ElasticSearchStateFactory to be compatible with storm version 0.8.1