Add .editorconfig

This helps developers maintain consistent coding styles by defining .editoconfig file.
See http://editorconfig.org/ for the file format.