Add .editorconfig file. 

Hi, 
This file is for unifying the coding style for different editors and IDEs.
More information at http://EditorConfig.org
Git automatic solve crlf / lf ending problem. And this line is not very important.