Rename variable for clarity.

Change-Id: I8b6be61fea2aa2eb6f29eff2899f306cae3375f7
Add an API test that teachers can only modify their 'own' studnets.

Change-Id: Ife32dcf808d9c8cc7d91a480229fb8f9a4acb711