Remove unused functionality in index library.
Moved classes into separate packages.
Cleanup.
Add redirects to old primitive names for legacy support.
Typo
Removed more unnecessary stuff.
Add removed legacy primitives that just pass the current term.
Make interface thinner.
Remove IndexPartitionDescriptor
Separate collection of entries from the Index class.
Remove unnecessary termAt's.
An index can have a parent index from which results are also pulled. Can be used to create temporary indexes for normalisation, compilation and parallel task collection.
Added methods for pushing, popping and merging indexes.
Removed unused index-get-with-partitions.
Add primitives for push, pop and merge.
Added legacy index-setup.
Merge branch 'index-cleanup'