FileHelpers: Adds BOM support via default param.
Refixes #665 and #668.
Code: Formatting and analysis fixes.
Merge pull request #1173 from am11/master

FileHelpers: Adds BOM support via default param