added 3 types of thesis in rtype and updated docnum parser