This change includes various error handling methods on all relevant object initializers - also rewrote how we parse floats from strings, this seems to be about 2x quicker at parsing SVG's then it was previously :-)
Now supports dashed strokes and line cap modes for lines that dont have a closed path.
Fixed issue with predefined colors not being found.
Added more examples to the example
Added support for the DEF elements.
Added support for linear gradients and very rudimentary support for radial gradients ( they dont really work )
Added style tag parsing in so the Def elements will work.