Add .editorconfig

This helps developers maintain consistent coding styles by defining .editoconfig file.
See http://editorconfig.org/ for the file format.
Merge pull request #25 from linquize/editorconfig

Add .editorconfig