Made AvroComponentException compatible with Java6. Added support of
existing interface(avro reflection) for producer. Minor tests
re-factoring.