fixes #4892 - content view filters & rules api - return object on DELETE

When a content view filter or rule is deleted with the API, return
the object that is being deleted.

This is correct behavior according to the API documentation and
is assumed behavior for the UI to properly update lists during
a deletion.