Add editorconfig for consistent coding style

More info at http://editorconfig.org/

* The list of projects already using it to standardize their coding
styles <http://git.io/pz1vWA>.

* Inspired by editorconfig of django-model-utils <http://git.io/QIAWvw>.