fix insertion of hairpins and ottava with shortcuts, fix copy paste of hairpins
fix some tests
Fix a potential crash in FiguredBass

In theory, `lastCR` may be null in line 1090. It should not happen in normal operations, but one never knows...
Merge pull request #1183 from mgavioli/Fix_potential_crash_in_figuredbass

Fix a potential crash in FiguredBass