fix #23879: unlink chord symbols within score/part

Don't duplicate chord symbols between linked staves within a score/part.
Treat staff text similarly.
fix #23883: create segments for chord symbols

When adding a chord symbol to a staff in a score with a linked part,
create a new segment for the chord symbol in the linked part if
necessary.
add tests

add tests: add chord to score with linked staff, add chord to score with
linked part
also exclude figured bass, lyrics, dynamics
Allow to assign lyrics to multiple tracks
Small code formatting
Fix chords with equal onTime values (was a wrong drum voicing)
Fix multiple voices for non-drum tracks
Fix possible tuplet erasure in drum track
Fix tying of notes of intersected tuplets
Comments for tuplet selection-optimization functions
Replace const reference to int by int
Add Q_ASSERT: error when equal chords in MIDI tuplets
Add Q_ASSERT: error when no chords in a tuplet
Refactoring of tuplet-in-use detection
Fix wrong check of equal tuplet chords
Fix check of availabe tuplet voices with single voice
Add Q_ASSERT: error when there are the same chords in different tuplets
Add 2 Q_ASSERT: error when for drum track voice != 0 or tuplets have equal chords
Add 2 Q_ASSERT: error when tuplet chords are empty or tuplets with equal voices overlap