The class group of a strongly Mori domain