Added precision feature in legend of terms panel

I added the "precision" feature from https://github.com/elasticsearch/kibana/pull/1415 for the legend values as well. The other pull request only rounds values of the underlying data, not the legend.