Adds support for string-based template rendering in MakoRenderer.py.