Reapply r159698 "Decouple ScriptPromise creation from ScriptPromiseResolver."

git-svn-id: svn://svn.chromium.org/blink/trunk@159941 bbb929c8-8fbe-4397-9dbb-9b2b20218538