Fix some constraints for restore_definition and restore_catalog tables.
We delete restore information with CASCADE when backup_catalogs get deleted.

Fix function delete_backup_definition_database(). We do not need to save
data in catalog_entries_to_delete when not using force.
Add functionality to delete restore log files when a restore definition/catalog
has been deleted.