LDEV-1622: Fixed the group creation so that if the existing group names do not start at 1 then the logic to create the groups will still cope - it was failing when it was trying to create a group with a name that already existed.
LDEV-1612 Added new definition type OUTPUT_SET_BOOLEAN to ToolOutputDefinition class. Updated dialog class to handle new type and updated definition -> condition matching test when setting the pre-selected definition (from existing conditions).