Add built-in def. for 5-string electr. bass and 5-line tab presets
Signals/slots fix
Fix #25811 #25867 - Incomplete layout when adding linked staff

If a linked staff of a different type/group is added to the score, the new staff is not completely laid out.

Fixes:

- Default clef of new staff is copied from default clef of original staff, rather than from its actual clef.
- When score instruments are updated, notes are updated before laying out chords, as chords need to have notes in correct position to compute correct stems, ledger lines, etc.
- Notes are updated via Score::cmdUpdateNotes() rather Score::updateNotes(), as the latter does not deals with the specifics of staff groups.
- cloneStaff() only clones clefs which do not alread exist AND are compatible with the staff group.
- cloneStaff() also updates the staff clef map when cloning a clef.
Fix #25983 - Crash when copy-paste to TAB includes accidentals

The bug has been unveiled by this commit:
https://github.com/musescore/MuseScore/commit/cbb388264af3ed1507b872cf7939a0611d36b5d0
but it probably preexisted.

It is caused in function `Score::pasteStaff()` where the election status after the paste is updated before the re-layout and re-format process is completed (with a call to `updateNotes()`).

Among other things, laying out a TAB involves removing accidentals (which have no room in a TAB) and this leaves the selection with inconsistent contents.

Fixed by moving the selection update step at the end of the `Score::pasteStaff()` function, after the call to `updateNotes()`.
Add string data to 1.x scores.

Based on the MIDI program of the instrument, the code tries to add string data to instruments read from 1.x scores.

It is not fool-proof and covers only the most common (and less likely to have been customized) cases). For other cases, the user will have to change the part instrument or to copy the part to a suitably created instrument.

It covers:
- guitar(s)
- bass(es), either bass guitars and double bass
- violin, viola and cello, as their MIDI programs are used for a number of other string instruments; in these cases, string number and7or tuning may need to be customized, but this at least provides a departure point.

Comments are welcome.
Check for null drumset before adding string data.
fix #22205: microtonal accidentals display as naturals after earlier accidental
Merge pull request #949 from mgavioli/Fix_25811_25867_Incomplete_layout_on_adding_linked_staff

Fix #25811 #25867 - Incomplete layout when adding linked staff
Merge pull request #953 from mgavioli/5-str_electr_bass_and_5-line_tab_presets

Add built-in def. for 5-string electr. bass and 5-line tab presets
Merge pull request #967 from mgavioli/Fix_25983_Crash_copying_accid_to_TAB

Fix #25983 - Crash when copy-paste to TAB includes accidentals
Merge pull request #972 from mgavioli/Add_string_data_to_1.x_scores

Add string data to 1.x scores.
Merge pull request #958 from Igevorse/jack_midi_in

Signals/slots fix
Merge pull request #974 from MarcSabatella/22205-microtonal

fix #22205: microtonal accidentals that change pitch display as naturals