Add EditorConfig file.

See [the EditorConfig website][ec].

[ec]: http://editorconfig.org/