Add XQLError, XQLResult as  a parameter of successCallback and errorCallback from parser::execute.