Add .editorconfig.

(Continued from #279)

I know how easy it is for those kind of files to explode if you add Sublime/NetBeans/Eclipse config files, but .editorconfig is meant to be a cross-editor configuration file and makes it quicker to start writing code without having to worry about setting up tabs/spaces/indentation. It has plugins for most major editors. See http://editorconfig.org/