Separate field iterator logic from pb_decode to pb_common.
Switch pb_encode to use the common iterator logic in pb_common.c

Update issue 128
Status: FixedInGit