Localization support for The Hat

Changed way of generating Jinja2 templates, created catalogs for English, Russian and Slovak language. Add handler for user settings.