HUE-2059 [core] Only display history documents in their home section

Make sure that trashed or history documents does not appear in the main list.
We filter them from the mine document list.
Added some tests.