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.
fix #24505: text in inspector
partial fix for tests
fix #21489: allow change of text style to chord symbols
enable style tag optimization
Merge pull request #849 from MarcSabatella/24505-text-inspector

fix #24505: text in inspector
fix #25519: support frames (and color) for chord symbols
Merge pull request #863 from MarcSabatella/25519-chord-frame

fix #25519: support frames (and color) for chord symbols
fix #25151
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