LPS-44593 Improve subscriptions permission checks

Hey Ray,

Can you please check this fix? Basically we are getting rid of the inferredClassName and inferredClassPk and we are using className and classPK for that.

The idea is that the className and classPK refer to the entity that is going to be notified and therefore we should always do the VIEW permission check on that entity. 

The current pattern of using the last call to addPersistedSubscribers to specify the entity where we want to do permission checks is something that is not obvious at all and that is leading to many many bugs because it's not being properly used. 

Thx!