Moving SVG code to use svgwrite.

Still ugly output and not all apertures handled, specially rounded and
macro based, but keeps improving.