Add an EditorConfig file to ensure all editors know how to edit files correctly. Apply conservative settings based on the existing files. Rust options are based on the defaults of `rustfmt`.