Add .editorconfig

Use [EditorConfig](http://editorconfig.org/) to manage coding style.