Use string notation for factory boy factories

This avoids the imports triggering a population of the model registry,
and makes debugging model registration easier.