R38: Add MgPathShape and output(path) for shapes.

Add append, setPath, setPoint and quadsTo for GiPath.
Add bezierBox1 and bezierBox4 for mgnear.
Add readIntArray and writeIntArray for MgStorage.