Add monitor to planning

o add a Monitor that keeps track of how long time each stage Cypher compiler takes
Add cache monitoring
Merge pull request #2188 from davidegrohmann/cache-logging

Add monitors for query cache and ast cache