Avatar work

Fixed the avatars in Discourse's topic oneboxes and removed a N+1 query for avatars on user search.