HUE-2039 [beeswax] Remove the need to clone a shared query

A non shared design can't ne seen or modified by someone else without the
write perm.
A shared design can be executed in auto mode and will appear in the history
of the user.
A shared design can be saved as a new design.
Adding tests, refactored a bit the view to remove some logic from the view.
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.