Factor out module generation.
Move registration code into TModuleGenerator.
Implement header writers.
#include umbrella, not each header separately. Might need Linkdef.h
Also pass Linkdef.h; build sources for pragma parser.
Linkdef files are not passed; fix include, PCM file name.
Silence warning about unused var; will need to add new parameter to RegisterModule().
Reflect new file name.