Unread post fixes
 - new threads now go to the first page rather than the last
 - Marking a thread as unread updates HAS_VIEWED_THREAD
Fixing issue where viewed threads keep going to the first page instead of next unread
Merge pull request #193 from Bonnett/master

Fixes due to new "sort forum by unread posts"