Fix comment notifications to respect Discussions.View permissions

Check for permissions before notifying users of new comments (e.g. if they've started a discussion in a category they're no longer allowed to see)
Related to https://github.com/vanillaforums/Garden/issues/1518

Also combined "Record user-comment activity" and "Record advanced notifications" in one if clause.