Fix missing java & scala product types for ScroogeGen.

CodeGen handles this, but ScroogeGen is not a subclass.

https://rbcommons.com/s/twitter/r/639/