convert enum TimeSigType into enum class

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