* db_field_log now is one of rec = use record, val = val inside, ref = reference inside * add field_type and no_elements (to allow plugins change type and array size) * add destructor in the ref type (called when deleting the db_field_log) * change dbEvent.c and dbAccess.c to use the new field log features