added binary encoding and decoding for multiple macaroons

Not sure that Slice is the right name here, but I can't think of a better one.