minor input check fixes to Neo4jDb
update GraphDatabaseFactory usage to new pattern (old was deprecated) --> update tests accordingly
remove System.outs