Backport master fixes
This MR is a backport of trash view fixes, so when you open a note in trash view:
- you won't see the move to trash option anymore;
- when you click on back button you'll return to trash view correctly; and
- when you click on open in a new window menu option, the main window you show trash view correctly.
This also fixes the libcanberra removal.