Checkpoint latest work on YUI fixes.
Fix #33, #34.
Add some comments.
Fix #31, leading zeroes.
Hex string compression in SVG strings.
Fix #35
Still fixing #31
Another YUI space bug.
More minor fixes.
Fix #36.
Fix #38
More 0. fixes
Continue fixing #32
Fix #39
Merge pull request #41 from tripadvisor/yui2

More YUI compat fixes