Test SVG EXPORT

This is a preliminary work, nearly done for the svg export.
Final PR will have clean files, those commits are dirty.

@kangax if you can help me with the 2 failing tests, from polygon and polyline, i searche all fabric.js file and there is no trace of that error in case of missing points.
I even searched on past revision, but it looks like that function never existed.

I'm commenting some lines to explain you some decisions.
i added those lines months ago. they fixed position for ellipses in
pathgroup. i always thought it was an hack. anyway canvas and svg are so
similar that any extra manipulation added in the fromelement method, could
be unecessary or a quick hack.
Il 04/ago/2014 19:11 "Juriy Zaytsev" <notifications@github.com> ha scritto:

> In src/shapes/line.class.js:
>
> > @@ -164,9 +163,6 @@
> >            cp.x,
> >            cp.y
> >          );
> > -        if (!this.transformMatrix) {
> > -          ctx.translate(-this.group.width / 2, -this.group.height / 2);
> > -        }
>
> Hm, interesting. You sure it doesn't break any rendering. I could swear we
> needed this for some cases.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/kangax/fabric.js/pull/1560/files#r15767054>.
>