Add .editorconfig and update CONTRIBUTING

Hi man.

Just adding an `.editorconfig` file to help with consistency.