Reports view

Changes:
* added report mechanism,
* report as tree with sum of below levels,
* added tests to new functional.

@quamilek and @xliiv please review.