Added code to generate a list of all enums to scalagen enum.

Need a list of enums to iterate over in scala.