Added clip operator
Added fill, stroke, line-join & font attr
Misc variable initialization
Fixed setGState, viewport transform
Added endPath, endText. fixes extra <g> elements
Merge pull request #5034 from pramodhkp/fixupgstate2

[SVG] Adds clip operator, fixes setGState, fill, stroke operators