A few fixes in openflow_input for enums, and add support for type OFGroup in java_gen

Reviewer: @rlane @vaterlaus