Revert "Move pretty printing of ast nodes to ASTNodes"
Merge pull request #2951 from neo4j/revert-2941-perty-ast

Revert "Move pretty printing of ast nodes to ASTNodes"