Improve XPainterConstant singleton
Fix memory leak issue
Support group and ungroup features
Add xmd.h for storing GraphicsItem type identification enumerations
An item in a group cannot be added into any other new group