Adding the 'fillRule' function

See here for more info: http://blogs.adobe.com/webplatform/2013/01/30/winding-rules-in-canvas/