Gradient fix

Added rendering of gradientTransform, fixed gradient position ( not working since big commit of svg import ) fixed use of xlink:href in gradients, stop opacity 0% was omitted. Fixed toSVG for gradients.
Added gradients for stroke property.

Related to issue #1597
yes but i will change the others in same way, ok? we are full of
transform(x x x x x x  ) in object class.
Il 16/ago/2014 15:11 "Juriy Zaytsev" <notifications@github.com> ha scritto:

> In src/shapes/object.class.js:
>
> > @@ -1128,6 +1130,10 @@
> >          ctx.stroke();
> >        }
> >        else {
> > +        if (this.stroke.gradientTransform) {
> > +          var g = this.stroke.gradientTransform;
> > +          ctx.transform(g[0], g[1], g[2], g[3], g[4], g[5]);
>
> Or just ctx.transform.apply(ctx, g), right? :)
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/kangax/fabric.js/pull/1598/files#r16324706>.
>