Add support for dashed lines if the browser supports it
Merge branch 'canvas-dash' into stable