Proposal: provide an editorconfig file

To standardize the way we write our code, I would really like to have support for this:
 - http://editorconfig.org/
This pull request tries to go in this direction.

Feel free to change the values to the number you think are valuable standars.