Added Epub export

I refactored some of the code to use the SVG generator to export scribbles to .epub format with embedded SVGs.