SCHEMA-570. Avro cell encoder should flatten/expand union writer schemas

 - Fix NPE in AvroCellEncoder when writing null.

issue: https://jira.kiji.org/browse/SCHEMA-570
review: https://review.kiji.org/r/1172