Expose isPointInPath and isPointInStroke for OffscreenCanvas 2D
The implementation is already there, we just need to expose the APIs.
This CL also adds layout tests to confirm the APIs' behavior.
BUG=
670860
Committed:
https://crrev.com/28b6bf098c8c5fcb7f75568be3c66e0d2a24a4d0
Cr-Commit-Position: refs/heads/master@{#436342}