Moved Backend::getAllowedProductIds to the backend permission class
Use model to count all products
Added helper method to find undeletable products
Do not allow to deleteAll products if used in an order (#882)
Prevent multi-delete of product types (#882)