Fix #1146: extend DeleteResponse to handle delete by query as well

This is a temporary fix for BWC purposes until we can
create a separate response object for delete by query
requests in 2.0.