move repeated wire_name validation to ScalaClass

hard bits are for testing:

- make ThriftCodegenTest that calls into ThriftCodegen to get a
  ScalaProgram
- expose a method on ThriftCodegen to make that test easier.
- make a new directory and sbt sub-project for this test