Add unread badge and new unread calculation

Forum threads will now be marked as "old" and unread counts won’t be
calculated when the last update was 10 days ago or more.