Do not allow students to pin/unpin forum threads

The wrong permission was being checked for pinning/unpinning, so a
sufficiently clever student could pin and unpin threads.

JIRA: FOR-499

@jimabramson