Create cookies.js polyfill for document contexts
Create cookies.js polyfill for document contexts

This is also a design sketch for the new API and is loosely based on/inspired by https://github.com/slightlyoff/ServiceWorker/issues/707
bsittler/async-cookies-api,bsittler/async-cookies-api