Refactor i18n files

Remove 50+ unused message codes.
Add code for changing project templates to projects.
Use DSL to specify plugin dependencies.