[fix bug 1002420] Optimize longest streak calculation.

* Include only the users with a report in the last 24 hours, in the calculation.
[fix bug 974344] Don't display ical banner when subscribing to past events.
Merge pull request #727 from akatsoulas/1002420

[fix bug 1002420] Optimize longest streak task.