* Sketcher: refactor CommandConstraint.cpp with TypeId helpers * Sketcher: cosmetic empty lines * fix pointer misusage