Thrift-1775:
THRIFT-1913 skipping unknown fields in java unions

Patch: Hrushikesh Tilak
THRIFT-1995: IDL can generate uncompilable ocde

Patch: Carl Yeksigian