Support staff locking on unit page

STUD-1873
I found it better when writing the Jasmine tests to not have a toggle method, because the reader may not be sure of the state before the call. It seemed clearer to explicitly say 'setStaffOnly(true)' rather than 'toggleStaffOnly()'.