add trim trailing space & charset to editorconfig
Merge pull request #444 from slang800/v3-editorcfg

add trim_trailing_whitespace & charset to editorconfig