Handle UTF-8 with BOM (strip BOM)

See commits. When BOM is not removed, this results in extra white-space in the HTML-page after including a HTML-partial with @@include.