Refs #10302 Add getUnusedGroup
Refs #10302 Make inserted use new group ids
Refs #10302 Make add row append a single row
Refs #10302 Update unit tests
Refs #10302 Update indentation
Refs #10302 Merge indentation commit

This avoids conflicts with #10295.
Refs #10302 Allow Refl UI rows to be reordered
Merge remote-tracking branch 'origin/feature/10302_refl_ui_row_management'