adding VetoGuard to support termination of queries

Each query assigns a VetoGuard to Neo4j's guarding mechanism. QueryRegistry maintains a reference to the guard and is able to abort the query by setting a flag.
fix NPE when aborting a non-existing query, add logging
add flash message when query is aborted
test for aborting queries