Add .editorconfig

please refer to http://dev.hageee.net/21