AVRO-1409. Java: Add an API for testing schema compatibility.  Contributed by Christophe Taton.

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