Add the ability to format the lables of a terms panel that is configured
as a terms_stats panel. Copied the same formating options available in the
stats panel.

Only formats the values being used for the legend.

Available Formats:
money: $0,0.00
bytes: 0.00b
float: 0.00
number: 0,0

The default format is number.