Make sure Machine names are always unique and non-zerolength
Make sure Machine names are always unique and non-zerolength

Applies the same rename behavior introduced in the profiles rework to machine names. Machine names are always accepted, but if they are non-unique a number is added (recursively).

If no name is specified, a logical default is chosen. Robust against leading/trailing spaces, and case insensitive.

Contributes to CURA-425

totalretribution/Cura,senttech/Cura,hmflash/Cura,ynotstartups/Wanhao,ynotstartups/Wanhao,Curahelper/Cura,totalretribution/Cura,fieldOfView/Cura,senttech/Cura,hmflash/Cura,Curahelper/Cura,fieldOfView/Cura