added grouping by an index
tests
adding python and javascript support for 'index' optarg in group, as well as translating the yaml tests
Merge branch '1978_group_index' into next