Fix generator bug when oneof is first field in a message.

Added test case for the same.

Update issue 142
Status: FixedInGit
3 files changed