Refactor indexing to handle reindexing all items.

es-index-data now simply calls the /index view
tests refactored to be more thorough