added .editorconfig according to coding style in README.md

Re-opened request to `cub_layout` branch as requested in #3.