AVRO-1308. Java: Fix repeated protobuf messages & enums.  Contributed by Steve Zesch.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1471128 13f79535-47bb-0310-9956-ffa450edef68