http://www.hamstercentral.com/forum/viewtopic.php?t=70
Has information on Campbells Russian Dwarf but the advise is equally aspplicable to all species of hamster. I would get the fecal exam especially as he has had runny poops for so long, and if it is diabetes the vet will be able to tell you there and then, and what type.