An ES6 Promise object polyfill, defined with AMD.