Hacked away at getting HProf stuff sane.

This is all nonfunctional at the moment. The old hprof package
will be deleted eventually, and the hprof2 package renamed to hprof.