Added BOM removal flag.

Byte order mark is now removed from the beginning of the files when the 'b' or 'bom'
flag is used.

I needed this option because Visual Studio was adding a BOM to the file and it took me some time to figure out that this was adding the white space to the precompiled templates. I found the same issue mentioned in #508.