LPS-47508 invoke trash capability when deleting

When deleting file entries or folders, invoke the trash capability
explicitly.

Note that in the short term we will remove this hardcoded logic and
create an event system around core repository operations (CRUD over file
entries and folders basically). We'll move this hardcoded code into
event listeners and remove the `deleteTrashEntry` methods from the
interface.
LPS-47508 document breaking changes