extract XmlWriter from SVGRenderer + SVG fixes

- rename drawShape to drawSimpleShape
- fix rect shape attribute
- simplify drawPoint and drawSimpleShape by using Coordinate
Merge pull request #49 from ischneider/xml-writer

extract XmlWriter from SVGRenderer + SVG fixes