Add types to the safeHeader() docblock.
Add missing character sets to the http content types.
Add the character set to the dispatcher.

Note that the line-endings were also changed in this commit.
Default the character set to utf-8.
Merge pull request #2249 from vanilla/hotfix/content-encodings

Add missing character sets to the http content types.