extract XmlWriter from SVGRenderer + SVG fixes

- rename drawShape to drawSimpleShape
- fix rect shape attribute
- simplify drawPoint and drawSimpleShape by using Coordinate