Add an .editorconfig file

http://editorconfig.org/

Like jshint (pr #73 and #98), this provides some ways to define coding
style in an editor-independent fashion.
Merge pull request #99 from PiPeep/editorconfig

Add an .editorconfig file