Add Repo.openIndex

Closes #197