Support staff locking on unit page

STUD-1873
Add python unit test (look for existing tests of make_publish and discard_changes-- I believe it is in test_item.py).