Add .editorconfig

please refer to http://dev.hageee.net/21
Merge pull request #2 from webcre8/topic/editorconfig

Add .editorconfig