Handle 0-threads case in is_forum_read (fixes #40)

This fix both the problem that empty forums show as unread, and the
error after marking an empty forum as read.