Fixed some Neo4j bugs in the core framework, and added dbugger.js support