iOS 7 Compiler warning fix for NSString drawing.
Add scanImageShape, displayRectToModel and getShapeBox for GiViewHelper.
Add [GiPaintView acquireFrontDoc].