Added an .editorconfig file

This allows most IDEs and editors (with the proper plugin) to automatically use the correct identation (i.e. you'll never ever have to worry about tabs in your code again).

More information can be found on http://www.editorconfig.org/.

*I'm just not sure whether this should be handled differently based on extensions. Are there any files where tabs are preferred?*