* fixed errors in zentaoapi.
 * added debug mode.
 * fixed erros.
 * remove debug code.
 * fixed error when free objects.