add getMany

Hi Renzo,
Gabriel gave me this function yesterday for recreating the old behaviour of decodeGetMany (from before the days of pipes-parse). He said it might be useful to have it in the library. What do you think?