Create reindex.py, add warning on mapping conflict

I adapted the reindexer script I created for annotator-store to work for h. Some improvements in annotator-store could make this code smaller, but that's for later.

Should this be included or called from `h/script.py`?

I followed the example from the script that builds the extension; console is an argument injected by `clik`.