Update canvas.class.js

Added lockScaleFlip variable to scale object method
Update object.class.js

added lockScalingFlip, if set to true you cannot flip by accident an objec while scaling it.
Update object.class.js

Just grammar
Update arc.js

Corrected arcs drawing and extended caching logic to have a chache hit more often.
Function is more or less 20 lines of code shorter, but i really cannot figure out if this implementation has more calculation
than the previous. I couldn't manage to find the error in the old one, i had to overwrite it.

in the picture , the multi colored arcs, are all on cache it after calculating the red one.
It will happen rarely, but why miss it?

![image](https://cloud.githubusercontent.com/assets/1194048/3872575/c962a7c0-211e-11e4-9413-cd6faba2e113.png)
Build distribution
Update canvas.class.js
Update object.class.js
Update parser.js

Delete function from parser. moved in element parser.
Update elements_parser.js

Added mono-object resolveGradient function. to be called befor reviver function.
Merge pull request #1595 from asturur/Load-Gradient-before-reviver

Load gradient before reviver
Merge pull request #1584 from asturur/Lock-Scale-Flipping

Lock scale flipping
Build distribution
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.