Auto merge of #443 - CYBAI:getpromiseishandled, r=jdm
Introduce GetPromiseIsHandled
Expose `GetPromiseIsHandled` API to `rust-mozjs`.
This would be used in servo/servo#20755 for the step 4.1.1 for the spec of [notify about rejected promises](https://html.spec.whatwg.org/multipage/webappapis.html#notify-about-rejected-promises).
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-mozjs/443)
<!-- Reviewable:end -->