LPS-51280 Use the new ResourcePermission pattern in the MBDiscussionPermission
LPS-51280 Create a mechanism that allow the service control what is happening in the SubscriptionSender. Service must be responsable of it own needs not the SubscriptionSender. Doing this we have totally decouple logic
LPS-51280 Move logic to make it visible from portal-service. Keep backwards compatibility. - No logic changes but visibility
LPS-51280 Use the new util in the subscription sender
LPS-51280 Delete unused classes
LPS-51280 Create an index to avoid recheck if contains resource permission. If we have 1000 subscriptions it will only check once.