Make index creation idempotent

IndexingService.createIndex now just does nothing if it is asked to create an index
that already exists. Instead of throwing an AssertionError. This makes it idempotent.