Introduce templating helpers to allow replacing Twig as templating engine

Second step to conquer the world :trollface: