feat(cookies): Port the Cookie interface from AngularJS