Improve status codes

closes #2187
- added UnsupportedMediaTypeError (code: 415)
- added status code 201 if a new object was created
- Updated tests
Merge pull request #2754 from sebgie/issue#2187

Improve status codes