Add support for stroke scale modes.
Fix review comments.
Merge pull request #1694 from mbebenita/stroke

Bug 1064110 - Add support for stroke scale modes