Added $tpl->render_string() to generate and render cached templates from strings