Visibly Tree Automata with Memory and Constraints (Logical Methods in Computer Science, 2008)