add a new compiler command line switch for generating utf-8 BOM in the output

Previously we trafficked BOM from input to output. the only scenario where we know a BOM is necessary in the output is WWA's. This change adds a new switch (--generateBOM) that a WWA project would enable and get the same result.
like this more.. will change it