Prefabricated modular campuses in Northern California are offering comforts that may help keep people off the streets — with pets, possessions and private space in mind.