Refactoring of contribution summary block

* Removed code duplication
* Contribution summary block is loaded via AJAX in activity reports

Change-Id: I89eeace7a90ebc2c3998ee354dfe943b2b8e3cbe
Merge "Refactoring of contribution summary block"