index: don't allow schemaVersion 0 if the index is non-empty

Change-Id: Ifaf3fb6c4f4166028fdf9041abb274f6cb8998ca
Merge branch 'master' of https://camlistore.googlesource.com/camlistore