How to cleanup HDD after installing a new OS X version using TimeMachine?
I'm pretty sure there is no such thing. But you do have a couple of options.


Get another totally clean installation of 10.8 and diff your whole filesystem. Then decide upon each "extra" file if it needed by you or your applications.
The "easy" option. Do a clean 10.8 installation and then restore from time machine into a folder on your desktop (f.ex.). Then manually copy over the files and stuff you want to keep