Implemented user activity report and punch card

* Added new report that shows activity for a given user
* Refactored code that calculates activity log and contribution summary
* Implemented punch card that shows when user is active mostly

Implements blueprint review-punchcard

Change-Id: I17af4edb65e49c934c503c5ab6e5d2b6212780b0
Redesign of activity stream

Part of blueprint review-punchcard

Change-Id: Iacff003c85d0dd262e8ae7a3065f144827cab94b
Company activity report is implemented

* Added links to company report
* Fixed punch-card to always show all days and all hours
* Contribution details template is extracted into macro

Change-Id: Ie9965f93dcd5d658b69bf38e6e947cd2f8ad6cdd
Enforce lower case in emails and domains in default data

Change-Id: I1bb41a728e26e2bdab72040ac974d2008e828886
Activity log is re-implemented for dynamic load

* Record filter to return records referred by blueprints
* Common code for activity stream processing is extracted into template

Change-Id: I1d36ba2be3c76fafcf25a09ffbb40cfc083271da
Merge "Activity log is re-implemented for dynamic load"