added live data to the workflow history view and updated metricservice to handle more queries
new partial to display a line chart for the workflow history
broke out the mongo aggregation parts into helper methods for better reuse