Updated to work with Symphony 2.4 and above.

 DateTimeObj::getTimeAgo() has been removed, use Widget::Time()->generate()