Add declaration of Path2D class to 2D GFX backend

Doesn't yet exist in tsc's lib.d.ts.
Merge pull request #1325 from tschneidereit/gts

Add declaration of Path2D class to 2D GFX backend