Updated Gravatar call to use HTTPS
Added friendly_datetime to jinja extensions
Refacoted message view a bit