feat(cookies): Expose setting of expiration for $cookies

This makes a modification on $browser in order
to optionally expose setting the expiration date on a cookie, as well as
the necessary modification on $cookies in order to support a public
facing api.