multi_name is a static string, fix test.

And initialize the string to empty. Cleaner and faster.
Move declaration where needed. Code clean-up.
New static routine to set the panel label.

Preparatory work for #9704.
New routine to update the panel header.

This routine update now the panel label. This is needed to be able to
display the proper multi-instance name when switching images.

Preparatory work for #9704.
When switching images make sure the header is updated.

This set the proper multi-name for the corresponding instance.

For #9704.
Make sure the duplicated module is saved in the history.

We do not want to save the new instance without having the previous
instance saved even when the first instance is not yet activated.

Fixes last issues reported in #9704.
noise profile: olympus e-p3
noise profile: pentax k110d
noise profile: olympus e-m1 by steve adler.
noise profile: nikon d50 by togan
noise profile:  olympus e-pm1 by Rodney Heyd
[l10n] Update Albanian translation
Merge pull request #389 from darktable-org/fix-multi-name

Fix multi name
Fix rotation of the image last edited in darkroom
bgjobs: hopefully silence gtk warning about percentage > 1.0
demosaic: color smoothing without clamping.
bgjobs: clamp progress for libunity too
wb_presets: panasonic dmc-gx7 (thanks to Richard Isted)
opencl demosaic: color smoothing without clamping.
[l10n] Update Polish translation

1 missing string, target version