code: function resolver(obj) {
    return new Promise(function(resolve, reject) {
      _.isEmpty(obj.results) ? reject(new Error(JSON.stringify(obj.errors))) : resolve(obj.results);
    })
  }
docs: Resolver function to chain Promise to resolve results or reject errors. Used in postQuery.
  @private
  @param  {JSON} obj Returned from the neo4j server.
  @return {Promise}     That resolves results or rejects errors.