initial commit.
Add README, LICENSE and package comment.

add license
Adding json marshaling feature to macaroon.
Use more idiomatic names, better comments for Marshaler and Unmarshaler interface implementation, save allocation time in Macaroon MarshalJSON.
Switching to hex instead of base64
Better docstrings for json marshal/unmarshal methods.
Better error messages.
Macaroon and Caveat id are now strings.
Fixing bad error strings, declare variables instead of initialize them, use json interface instead of esplicitely encode in a loop, switch keyedHash byte slice parameter to string.
Adding test to json decode a json encoded libmacaroon.macaroon.
Improving json marshal testing.
Merge pull request #1 from vds/master

Implement Marshaler and Unmarshaler interfaces for Macaroon and Caveat.
add TODO
godocdown $(go list .) > README.md
macaroon: simplify AddThirdPartyCaveat by removing assumptions about caveat id encoding.

We leave that decision up to external packages instead;
Merge pull request #3 from rogpeppe/002-simpler-third-party

macaroon: simplify AddThirdPartyCaveat
macaroon: simplify check return value

The multiple return value did not really help anything;
also make a slightly better first party caveat test
Merge pull request #2 from rogpeppe/001-add-TODO

add TODO; update README
Merge pull request #4 from rogpeppe/003-check-no-bool

macaroon: simplify check return value
macaroon: use slice not map in Verify

This makes it possible to have several possible
discharge macaroons with the same id.
macaroon: add TestVerify