Ensure that ITraversable::indexBy always returns the first value for any duplicate key and some other fixes
Update array traversal grouping test to use implicit group keys