Basic sharpening will help a little for just out of focus pictures, but really out of focus pictures can only be marginally tweaked .. with a lot of loss of detail. For photos with some issues, there are products like Focus Magic (http://www.focusmagic.com/) that might help .. never tried it, but it looks promising.
Hopefully in the future it won't be as much of an issue as companies work to incorporate sensors that record the direction of light as well as the amount of it. Lytro has a camera now that allows you to refocus after the fact, but the resolution isn't up to current DSLR levels.
Some of that is because the computer has no way of determining what 'in focus' is and what is required in generating the missing pixels required to bring it into clear focus. It's hard to generate information that is unknown and varied. Kind of like trying to convert a 60k mp3 file into a true 320k file. You can't accurately generate what's not there.
This is because these types of cameras capture depth and other information (such as multiple lens shots / images from the same angle), which allows you to have multiple focus points.
As I understand it, a 'normal' camera focuses and then snaps the picture. A Light field camera doesn't care about any of that - it takes all information in .. and then post processes all of it.