First Version. Resizing Paths not tested. Fix https://github.com/wout/svg.js/issues/196 has to be applied