feat(export-graphs): moves legend and title to svg 

This feature required height of graph being recalculated based on the legend size

https://trello.com/c/er11PgGd/351-2-exported-graphs-have-no-title-and-legend

Dmitry: Please, pair with me when reviewing this PR