Add basic infrastructure for service error handling
Add StactureHTTPException which extends the regular HTTPException
by a field called error_type
which can be used to distinguish
different types of errors and decide whether to forward a 400 or a 500
if you get a 400 from downstream.