Add editorconfig configuration
Adds https://editorconfig.org configuration to project.
Mostly matches the settings given in gitlab
: https://gitlab.com/gitlab-org/gitlab/-/blob/8098feaf3d4cab37e05dd1900c0bf80441276d99/.editorconfig, but I don't think we want any exceptions.