HUE-1775 [core] Filter out trashed documents on home page

Trash and history are filtered out from the single project lists
Simplified tag algorithms