PromiseProxy prefers Promise.cast over resolve, this makes it work correctly with promise inheritance.
Merge pull request #3943 from stefanpenner/promise-proxy-uses-cast

PromiseProxy prefers Promise.cast over resolve, this makes it work corre...