User avatar: refactored layout for reuse

The markup now displays user's full name in the tooltip (if available).

Fixes #220.