Add module style flag support to the module generator (and make amd/cjs module template equivalent)