...what sort of energy is in a perfect vacuum?
I kind of skipped that.
Do you know what a 'perfect vacuum' is? I don't. But I do know there are a lot of 'different' vacuums...Wikipedia discusses them here:
http://en.wikipedia.org/wiki/Perfect_vacuum#In_quantum_mechanics
so the simple answer is: with every vacuum comes with some energy. I don't think anybody knows exactly what it is...but if so, somebody will correct me. One evidence MAY be the Casimer effect...but some think that has other origins.
Let's just assume a good vacuum as in outer space. I think a 'perfect vacuum' would be in it's ground state, it's lowest energy configuration, but never zero. Quantum mechanics tells us that there are always fluctuations in fields and they are never quiescent, always bubbling...even though they may have zero average value. Space comes with some form of energy which is likely exactly what you are asking about. [Maybe one piece of that is dark energy??] One way to think about this is that at Planck scale, really,really tiny space and times, space and time get mixed up...there is always a 'froth'...an uncertainty. In fact Heisenberg uncertainty can also be utilized to described why there is always energy, variations in fields. But these theories do not REALLY describe exactly WHAT that energy is...only behaviors and rules we have come to observe.
As a final perspective: space comes with horizons. Horizons 'cause' energy to pop out from 'nothing'...and even particles to appear! The Unruh effect and Hawking radiation are examples. If two observers are together, and one is inertial [free floating] and the other accelerating, they will count different numbers of vacuum particles and measure [ever so slightly different] temperatures!
So space has 'vacuum energy' and expanding space [with horizons, like the Hubble sphere,for example] also comes with additional energy and particles [matter and radiation].
As you can tell, lots more to learn here too.