add delete hook for trash bin app
replace $path with '/files_trashbin/files/' . $file
implement delete hooks in file versions lib
add trash bin and file versions delete hooks in OC::registerPreviewHooks
Merge pull request #5822 from owncloud/delete_hooks_trash_and_versions

Implement delete hooks for trashbin and filesversions apps.