Cheatsheet visibility code refactored.
Merge pull request #3847 from edx/waheed/cheatsheet-code-refactor

Cheatsheet visibility code refactored.