Email aggregation

Limiting the timespan of the activities that are retrieved during email collection
Email aggregation

Drain an email bucket completely when collecting
Email aggregation

 * Updated timespan in which activities can sit in the email stream when retrieving them:
    -  immediate: 1 hour
    -  daily: 2 days
    -  weekly: 2 weeks
 * Replaced shared.jst with require(shared.js)
 * Better text emails
 * Removed duplicate updateUser validation test
 * Refactored ensureLinksStartWithBaseUrl utility
 * Use small user icon for comments
 * Fixed wide tile
 * Not threedotting tile titles