The method delete on the RowGateway now returns the affected rows

This fixes issue #3862