Big refactor to move error handling code out of Neo4jRestClient and to
simplify.