convert enum TimySigType into enum class

and fix the special handling of old style common- and cut time