Fix bug where teachers running as a student didn't use PUB mode
Fix authoring of a bad url so that the author gets the error instead of it crashing other things
Fix run links for teacher view student's home page so that the links show the student's work
Fix run links on the teacher's page