DAR-1133 Fixed issue with unable to delete a comment even if commentdelete user right is granted

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