SQOOP-1492: Move Avro and GenericRecord related common code to AvroUtil

(Qian Xu via Jarek Jarcec Cecho)