added a constructor of ItemGroupPtr().

This patch makes a default constructor of the ItemGroupPtr create
an ItemGroup instance.