Reset backend state when deleting index

Reset setup_complete and existing_mapping when an index is
deleted. This ensures create_index is called later to restore
the settings properly.
Test ensuring recreating the index does not remove the mapping
Merge remote-tracking branch 'infoxchange/fix-elasticsearch-index-settings-reset'