Added reject polyfill and PromiseCapability
Merge pull request #4700 from pramodhkp/refactoring

Reject polyfill and createPromiseCapability