added binary encoding and decoding for multiple macaroons

s/2/len(macaroons)/

to make it obvious.