created new article hook BeforeDeletePermissionErrors; implemented its handler in ArticleComment class and added there two helper methods: ArticleComment::isCommentingEnabled() and ArticleComment::isBadAccessError