Simple svg support

This patch adds support for creating SVGs, similar to the existing PDF implementation.

Just pass "svg" to the Canvas-Constructors third parameter; calling `toBuffer` will produce a SVG document.