added a metric_detail template tag
added template tag for metric history
updated History