feat(cookies): Port the Cookie interface from AngularJS

Closes #198