[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.
[Fix bug 967026][Fix bug 970395] Fix inactivity notification emails.
Merge pull request #728 from johngian/fix-notifications

[Fix bug 967026][Fix bug 970395] Fix inactivity notification emails.
Fix typo in edit_ng_report template.
Merge pull request #730 from akatsoulas/template-fix

Fix typo in edit_ng_report template.
[bug 996059] Update unavailability db fields.
Revert "Fix inactivity notification emails."

This reverts commit 204df74e4b06b36cc9761964fbe2204a7d186b1d.
[fix bug 923754] Disallow report pages in robots.txt
[Fix bug 967026][Fix bug Bug 970395] Fix inactive user notifications.

* Make send_remo_mail non-blocking
* Do not cc remobot
* Fix time filter in second report notification
* Exclude users with incomplete profiles from notifications
Merge pull request #731 from johngian/revert-notification-fix

Fix inactive user notifications
Merge pull request #729 from akatsoulas/996059

[bug 996059] Update unavailability db fields.
[bug 997891] Use failsafe format() to format subject.

Because 'instance' is not yet saved in the db, bug_id is still
unicode and python cannot convert it using '%d'.
Merge pull request #733 from glogiotatidis/997891

[bug 997891] Use failsafe format() to format subject.
[bug 996059] Add waffle flag to settings template.
Merge pull request #734 from akatsoulas/996059

[bug 996059] Add waffle flag to settings template.
Merge pull request #732 from glogiotatidis/923754

[fix bug 923754] Disallow report pages in robots.txt
Remove ignore=dirty from .gitmodules.

Removing ignore=dirty from .gitmodules to replace it with what we really
want: Add *.pyc to global git ignore list.
Merge pull request #739 from glogiotatidis/update-gitmodules

Remove ignore=dirty from .gitmodules.