Integrating solar directly into buildings could turn homes and offices into decentralized power plants and cut emissions right where they begin.