Update parser.js

Add svgUid parameter to document parsing.
Update elements_parser.js

Add svgUid to svg parsing
Update parser.js
Update parser.js
Update parser.js
Update parser.js
Merge pull request #2 from asturur/Fix-for-styles-and-gradient-overlap

Fix for styles and gradient overlap