Add .editorconfig file. 

Hi, 
This file is for unifying the coding style for different editors and IDEs.
More information at http://EditorConfig.org
Shouldn't this be `crlf`?

![](http://i.imgur.com/Ixw4o4k.png)