pluginhost: add get_debug()/set_debug() for plugins to detect if debugging is allowed
change various catchup stuff to only affect unread articles