Removes most dependencies to neo4j-kernel from compiler-2.1