Fixed failing test: fabric.util.loadImage
Valid svg output (http://validator.w3.org/):
- delete width/height attributes from g (http://www.w3.org/TR/SVG/struct.html#GElement) and path element (http://www.w3.org/TR/SVG/paths.html#PathElement)
- update DOCTYPE for svg version 1.1
drawCorners -> drawControls, for consistency. Remove unused hasCorners and use hasControls instead of hideCorners. Version 1.0.12
Merge pull request #437 from Kienz/svgOutputValidation

Ensure valid SVG output (http://validator.w3.org/)
Fix doc. Thanks @rodrigopandini
Merge pull request #413 from uruz/feature/fix-failing-test

Fix failing test: fabric.util.loadImage
res -> response and remove unnecessary semicolon
[BACK_INCOMPAT] Implement fabric.Gradient#toSVG() and radialGradient

- Implement radial gradient and expand linear gradient (stop-opacity should now take into account)
- Gradients should now be included in the SVG output for the following fabric objects: circle, ellipse, line, path, polygon, polyline, rect and triangle (text is not yet implemented)
- Gradients (linear / radial) can be applied to stroke or fill property => change setGradientFill(options) to setGradient(type, options)
- Change toObject() that linear and radial gradients can be serialized
- Expand fabric.Color by 16 basic colors fabric.Color.colorNameMap => gradients with e.g. stop-color="blue" and stop-opacity="0.5 can be converted to RGBA color
- RGBA colors in svg has no affect (convert to RGB color), only stop-opacity has affect to color opacity
- Attached some test svg files http://kienzle.geschaeft.s3.amazonaws.com/projects/fabricjs/gradients/gradients.rar
Build diet file