Add SVG drawing capability

For #136. Works.. Note that sizes aren't respected in svg mode... since svg graphics can (and should) be sized as needed when displayed.

Also, we really should abstract drawing/encoding a bit.