When searching for top level entities, messages are searched through as well

This only applies to library and general searches
Fixed failing tests for searching on discussion messages
Discussion activities, tests TODO