Use Cypher query cache to find plans based on AST

Note: cypher compiler is now recreated on schema change, to ensure cache flushing.