changed Templetor web.template SafeVisitor to use ast module instead of deprecated compiler module; getChildNodes -> iter_child_nodes and compiler.parse -> ast.parse; also changed vars named ast to be called tree and pytree so there are no name conflicts; now Printnl is not in the syntax tree, so we check for Print in our last doctest