MR: https://gitlab.wikimedia.org/repos/generated-data-platform/aqs/unique-devices/-/merge_requests/12
- Add a bad request validation wrapper to set response status code and error message.
- add a function for internal server errors
- Replace problem api with aqsassist createProblem utility function to make all response objects consistent.