Add renderViewState twig helper