Refactoring of user profile block

* User profile block is extracted into Jinja template
* User profile block is loaded via AJAX in user activity report

Change-Id: I239c88d8c9cf370db1140f877b992b031741da99
Merge "Refactoring of user profile block"