Generating PNG and CSV reports on client side + ability to download them
Refactoring of js code
Refactoring of js code
Added comments do JS code
Merge pull request #4093 from Wikia/metrics_download_CE-505

Metrics download (task: CE-505)