index test suite naming bug fix.
repository::native refactoring.

Some variables became const-qualified.
Package imports implementation.

index refactoring.
index::stage implementation.
index test suite update.
repository and repository::native update.