Added doc_dirent_mode type; smaller then posix mode_t and accomodates DUC_MODE_REST for consolidated 'rest' items