AVRO-1418. Java: Add sync support to AvroMultipleOutputs.  Contributed by Deepak Kumar V.

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