Dropped `prevent_deletion` handler.

An event handler for preventing object deletion is the wrong way, furthermore
it makes impossible to remove repositories for administrators.

@lukasgraf please have a look