Issue #2351559 by JayeshSolanki: Replaced hook_permission() with disqus.permissions.yml file
Issue #2351491 by JayeshSolanki: Replaced use of deprecated functions l() and url() in favor of drupal8's routing based URL generation API