Added more repository tests.
Documentation and licence cleanups.
Extend index path merging.