+ creating PlotSeriesDto goes on server side for summary
+ legend tree creates fot metric plots
- should be done for trends too
+ MetricDto contains only values (no curve)
+ PlotSeriesDto for trends generates in the same place as for metrics
- at the moment legend tree has no colors
merge with griddynamics master
After review:
+ simplify LegendProvider
+ rename all summary and plot dtos
+ get summary data, plot data has similar signature
+ MetricNodeWithAttachment<V> -> LegendNode
+ separate rule provider for legend tree
+ little renamings
+ javadoc for LegendProvider
+ revert client side as it was
fix bug with incorrect handling of sessionScopeNode = null
Merge pull request #542 from dlatnikov/JFG_800_mistake_in_select_all_after_session_scope_implemention

fix bug with incorrect handling of sessionScopeNode = null
Merge branch 'master' of github.com:griddynamics/jagger into legends-epic-server

Conflicts:
	dbapi/src/main/java/com/griddynamics/jagger/dbapi/DatabaseServiceImpl.java
	dbapi/src/main/java/com/griddynamics/jagger/dbapi/fetcher/CustomMetricSummaryFetcher.java
	dbapi/src/main/java/com/griddynamics/jagger/dbapi/fetcher/LatencyMetricPlotFetcher.java
	dbapi/src/main/java/com/griddynamics/jagger/dbapi/fetcher/LatencyMetricSummaryFetcher.java
	dbapi/src/main/java/com/griddynamics/jagger/dbapi/fetcher/SummaryDbMetricDataFetcher.java
	dbapi/src/main/java/com/griddynamics/jagger/dbapi/fetcher/ThroughputMetricPlotFetcher.java
	dbapi/src/main/java/com/griddynamics/jagger/dbapi/fetcher/TimeLatencyPercentileMetricPlotFetcher.java
	dbapi/src/main/java/com/griddynamics/jagger/dbapi/util/LegendProvider.java
	webclient/src/main/java/com/griddynamics/jagger/webclient/client/MetricDataService.java
	webclient/src/main/java/com/griddynamics/jagger/webclient/client/MetricDataServiceAsync.java
	webclient/src/main/java/com/griddynamics/jagger/webclient/client/PlotProviderServiceAsync.java
	webclient/src/main/java/com/griddynamics/jagger/webclient/client/trends/Trends.java
	webclient/src/main/java/com/griddynamics/jagger/webclient/server/MetricDataServiceImpl.java
+ add xAxisLabel as parameter for creating PlotIntegratedDto
+ 'raw' -> 'row' + minor changes
Merge pull request #529 from amikryukov/legends-epic-second-round

JFG-783 Change line - legend relation in all plots
merged with master
minor tweaks removed