added binary encoding and decoding for multiple macaroons

Please put this next to rawAppendPacket and change rawAppendPacket to use it
to initialize plen.