Frontend: abstract some common functions that all heatmap modes will use.
Frontend: create more heatmap modes for call count, self time, and
total time per function. Hook up weighting/binning to color step
styles.

Closes #194.