fix whitespace and line break in dynam

fixes #3
moreover fixes some indentation
added template to remove @dur from mRest

fixes #1
Merge branch 'bugfix_rendInDynam' into feature_manualsIntoImproveMusic
Merge branch 'bugfix_noDurOnMrest' into feature_manualsIntoImproveMusic