Remove premature index feature in preparation for multi-repo synchronisation.
Allow consistent metadata updates over multiple repositories.

Improve debbuging, not all tests yet fixed, stage API is still pending.