added editorconfig file to specify the indent/lineending conventions

Added an editorconfig file
http://editorconfig.org/

Editor config helps applying the right indentation/lineending settings when switching between solutions. 

See the visual studio plugin:
https://github.com/editorconfig/editorconfig-visualstudio#readme