Add .editorconfig.

Adds a .editorconfig file, see http://editorconfig.org.