Genomics of the Resistance to Metal and Oxidative Stresses in Cyanobacteria