Issue 1002: Add basic /api/assignments

In reference to https://github.com/MarkUsProject/Markus/issues/1002
Adds /api/assignments and removes plaintext responses from the other api routes. Now only json and xml is supported.