EXP-178. Get rid of all Avro unions in ModelDef and ModelEnv

issue: https://jira.kiji.org/browse/EXP-178
review: https://review.kiji.org/r/1021
Fixes regression test hanging

by increasing permgen space for the scalatest jvm

reviewed by: robertchu