Fix main layout memory leak
Fix score font memory leak
Fix TabScoreView memory leak
Fix M_new_divis memory leak
Fix QFontMetricsF memory leak
Fix Element memory leak
Fix icon action (char*) memory leak
Replace Shortcut key type char* with QString
Replace remaining char* strings in Shortcut with QString
Fix KeySym memory leak
Fix Clef elements memory leak
Check for corner case of self assignment
Fix M_def_rank memory leak
Merge pull request #1282 from trig-ger/memory_fixes

Fixes of memory leaks (using Valgrind)