Update class.commentmodel.php

Check for permissions before notifying users of new comments.
Related to https://github.com/vanillaforums/Garden/issues/1518
Merge pull request #1739 from R-J/patch-12

Fix comment notifications to respect Discussions.View permissions