fix #23852, #24232 and #24234
fix #24195: default barlinespan for partgroups set to true
Merge pull request #636 from lvinken/musicxml-fixes-2

Musicxml fixes 2