A new scientific paper outlines how, in the future, our houses might be living, breathing, self-repairing habitats.