I think the energy is related to Vaatu. I think this is all related to Vaatu or a spirit related to him somehow. When Korraava defeated Unavaatu and absorbed Vaatu into Raava I am thinking it did not totally eliminate the Dark Avatar, I think it torqued it. I am going to guess that it is not as simple as Pavi being the Avatar and Nisha being the Dark Avatar. I think it more likely like how Raava and Vaatu are both opposites and part of a whole that both Pavi and Nisha have a part of Raava and a part of Vaatu in them, just perhaps in differing amounts. I think this will also go a ways to explain why even when she powers up Pavi is red instead of blue, though I suppose it is also possible that that will just be connected to whatever the colour of her current blocked/unblocked chakra is. Was also interested that the first Chakra was kind of Red Lotus-y.
As for Korra destroying the world: I am fairly confident that the dark reflection of herself that haunted Korra is the one that destroyed the world. That thread of how it was able to physically attack her was never really resolved in Legend of Korra. And the expression the older "Korra" wears when she is tearing things up is the exact same one. So I also think it is the case that Korra in truth saved the world from being completely destroyed. It is also possible though that the thing that did destroy the world is essentially connected to her though.