Added a list of unresolved names to the scope.

The list of unresolved names could help to find invalid variables in a
template file.
Check the list after rendering a template file.
Added textbox to demo to view unresolved names