simple CLI for swift generator

This generates a shaded jar that can be used as a command-line tool to generate swift types & interfaces.

Other changes in this pull include:
- formatting changes for generated code to make it more readable
- factored out common generator templates for immutable & regular code generation into a common.st