Fix setCoords for negative width and/or height

Change-Id: I8ddb8ad49325e593bff15396f76623351e2c5de4
Update pattern.class.js

Added hack to support repeat and offset to svg export.
Merge pull request #1786 from asturur/fix-for-pattern-ToSvg

Add some functions to pattern.ToSVG()
Update text.js
Merge pull request #1785 from asturur/fix-filter-box-for-shadows

Fix filter box dimensions for shadows svg export
Update text.js
Merge pull request #1788 from asturur/Some-text-goodies

Some text goodies
Merge pull request #1691 from vamo89/setCoordsBug

Fix setCoords for negative width and/or height
Merge upstream/master
Fixed justify alignment.
Merge commit '636f3e09da8d7d281daa9d6fb04188554f629fff' into TextboxPullRequest