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
please avoid constructing single object in different places - it is different to maintain such code

propose:
1. in first loop create map MetricNode <-> MetricDtoList
2. in second loop create final result