moved isAdminOrMod check out of getTopicsByTids
make sure sockets leave the current room when entering another
fixed typo
update template.js dep
closes #2070
use loadMoreFromSet