JFG-783 Change line - legend relation in all plots

+ creating PlotSeriesDto object , that represent single plot, from one place for metric and plots.
+ MetricDto do not contain superfluous PlotDatasetDto that represent same values from MetricDto.values in other way.
+ create legend tree.
- plots rendering in old way
- new legend tree presents in  panel bellow plot
propose:
leave creation of plot on the same place like before, construct legend tree separately and attach it
```
PlotSeriesDto psd = new PlotSeriesDto(curves,"Time, sec", "",legendProvider.getPlotHeader(metricNode.getMetricNameDtoList().get(0).getTaskIds(), metricNode.getDisplayName()));
psd.setLegendTree(getLegend(???));
result.put(psd);
```