fix save subject grading info with teacher user
fix save grades when no grade yet
fix adding new type to existing people: add necessary roles if this is a user
Merge branch 'master' of https://github.com/passerellesnumeriques/Students-Database into dev

Conflicts:
	www/version