LPS-33236 Make the UI able to show which categories or vocabularies could not be deleted

Hi Iliyan,

Rebased onto https://github.com/laszlocsontos/liferay-portal/commit/28676d2dfec905c904fb7cbbe01390a66184d7ca as we've discussed.

Cheers,
Laszlo.