Adds the ability to keep around the generated maven project

Also the monadic if-then-else hell has been eliminated from the CodegenJava entry point.