fix #20018: MIDI note input

Add call to MuseScore::endCmd() after processing MIDI note input,
so that the note is played and the cursor box is updated.
Key-based cursor note movement and pitch2tpc()

Replace pitch2tpc2() and both variants of pitch2tpc() with a single
generic pitch2tpc(). Add PREFER_SHARPS, PREFER_NEAREST and PREFER_FLATS.
Update all places where those functions are called from.
Use intelligent key-aware stepping of pitch and tpc in Score::upDown().
fix #19817 Crash on loading a file with incoplete slur spanner and linked part
Use KEY_C instead of 0 when calling pitch2tpc()
Remove code no longer used...
Update a couple of comments...
timesig change causes infinite loop in case of tuplets
fix crash if last element is not a measure
move colornotes plugin into submenu

and place it next to the notenames plugin
Returns FiguredBass to use "figured bass" as default text style.

Some support for unstyled or differently styled FiguredBass elements.

Support for FiguredBass in ScoreView::adjustCanvasposition().
A simpler (and yet correct in more cases) algorithm to find the direction of a broken beam.

Now finds the right direction in the great majority of cases without any attempt to 'understand' the rhythm or the time signature.
Might fail with some highly subdivided tuplets (10-plets or more) or sub-tuplets.
fix #19544
Allows to hide some styles in:

*) the Text Style editor left-side list
*) in style drop lists / combo boxes as the EditTools widget or the "Text Properties" dlg box

Currently,
*) DEFAULT style is hidden everywhere
*) FIGUREDBASS and CHORDNAME styles are hidden in the Text Style editor
fix measure delete of repeat measure
update for Jump and Marker elements
inspector for Marker/Jump properties
propagate rehearsal mark to all parts
Play notes being added to a chord.

When entering notes via midi, if the first note is held down while
more notes are played, to enter a chord of notes, only the first
note sounds. This patch allows the subsequent notes to be heard.

NB. If two notes are pressed at exactly the same time so that they
are both processed in a single call to Score::processMidiInput(),
then still only one of them will be heard.
fix #20174
fix text palette handling