Added .editorconfig to automatically set proper tab settings, as supported by many text editors.
Merge pull request #2151 from TurkeyMan/editorconfig

.editorconfig file for phobos
Added Promote/Demote templates.