Update elements_parser.js

Changed Resolvegradient function for fill and stroke
Update gradient.class.js
Update parser.js

Changed parsegradient to consider href element
Update object.class.js

added gradienttransfor rendering
Update gradient.js
Update elements_parser.js

Fixing spaces
Update gradient.class.js

JSDOC and Variable names
Update parser.js

Changed variable names, For loop in While loop and typing error.
Update object.class.js
Update parser.js

Forgot one variable.
Update gradient.class.js
Merge pull request #1598 from asturur/Gradient-Fix

Gradient fix