Fix #25165 - crash when changing rest measure duration to or from irregular time.

When the actual duration of a measure is changed and either the starting or ending duration cannot be represented with a simple value (for instance 5/4) and the measure contains a single whole measure rest, a division by 0 results. See http://musescore.org/en/node/25165 for examples, discussion and analysis.

Fixed.

If the new measure value is different from the current time sig, rest(s) to represent the actual measure values are used instead of whole measure rests.
Tick where to place the newly added rests was wrong.
This fixes Gentoo bug #507712 (https://bugs.gentoo.org/507712)

Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
fix #24951: grace notes after enabled
fix #24842
fix #23986
fix #25151
fix #24499: chord symbol edit mode layout issues
fix #24357
fix Harmony() constructor
fix default frame width and margin in text style/properties, rework text properties dialog
fix bounding box of multi measure rest
Merge pull request #864 from MarcSabatella/24499-chord-edit-mode

fix #24499: chord symbol edit mode layout issues
fix 25350
move plugin framework to libmscore
fix regressions for plugins
another try to fix plugins + build system
fix #25276: unrecognized chords from 1.3 contain markup
fix compat test
Merge pull request #865 from MarcSabatella/25276-chord-markup

fix #25276: unrecognized chords from 1.3 contain markup