Add Monitors to parsing, semantic checking, AST rewriting and compiling with the new planner

* Moved out semantic checking from the parser to the compiler
* Same for AST rewriting: Parser -> Compiler
Merge pull request #2095 from davidegrohmann/monitors-experitments

Add Monitors to Cypher