Enhancement: Make graph/education API errors more consistent

Aligned the error messages when creating schools and classes fail and changed the response code from 500 to 409.

https://github.com/owncloud/ocis/pull/5682
https://github.com/owncloud/ocis/issues/5660
