Optimize memory consumption in dashboard

* Store records with fields required for aggregation
* Load records from runtime storage when details are needed
* Refactoring of activity summary report

Part of blueprint memory-optimizations

Change-Id: I87c14ef0ad9583632cb2fcba4af6d43a0d3ec0b1
Merge "Optimize memory consumption in dashboard"