change interface name of ndb dump to ndb_dump_info, move some dump codes from ffndb dialog to ndb.c