Tests: use 2 spaces indentation

To avoid inconsistencies in the future, an `.editorconfig` file is
added.
Merge pull request #2 from arthurvr/master

Tests: use 2 spaces indentation