Add SVG export of patterns.
Merge pull request #1 from mdiin/canvas-patterns

Add SVG export of patterns.