extract elastic reindexer from base reindex command
Merge pull request #2886 from dimagi/reindex

extract elastic reindexer from base reindex command