He had an epiphany while living in a dumpster. And it could help change the future of housing.