Bug 1064110 - Add support for stroke scale modes

I think something like this should be standardized at some point. It's definitely useful and more efficient to render, especially for hairline strokes. Having it as a polyfill can help us experiment with the possible API.