Switch to new coding style & update deps

- Switches to my new favorite coding style using 2 spaces
- Add editorconfig for easier contributing with this code if
  editor supports it
- Update the dependencies