adding visibility toggle in contextualcomment.js
Merge remote-tracking branch 'origin/dev' into AccessControl
Merge branch 'master' into AccessControl
Merge branch 'dev' into AccessControl
Merge branch 'master' into AccessControl
add backend support to visibilityoptions
Merge branch 'master' into Issue2313
update commentattributes for NPE
Merge branch 'master' into Issue2313
Merge pull request #2517 from TEAMMATES/Issue2313

[Issue 2313]visibility for comments should check relevant options automatically