Got Specs and HistogramManager working

generate_stats.py now successfully runs again.

I'm still missing the StatsManager step of actually calculating
statistics on all these histograms, however.  The code has been
translated but it's not yet been tested.