Created polyfill for EvenOdd winding rule.

There are browsers which do not support a winding rule param to fill,
clip and isPointInPath. This polyfill tests for it, and replaces the
methods so that they ignore the param in case of exceptions.

This allows not to catch the exception in canvas.js which would prevent
optimization by JS engines.

This fixes #5458
we did it like that a few lines above. i dont mind changeing it, but wouldnt this also keep the checkCanvasEvenOddFillRule closure alive?