Genomic Changes Associated with the Evolutionary Transitions of Nostoc to a Plant Symbiont