cri_frontend: add restricted mode
Adds a restricted mode. If the Restricted-Mode
HTTP header is set, the frontend will be stripped to hide any user settable field/models. The reason for this is to prevent any kind of cheat sheet from being stored in exams. It also prevents communication between students.