Added optional drop to elasticsearch ensureIndex