Currently, all API handler functions take care of response code and
message on their own. This leads to a huge injection chain for HTTP
related objects.
This refactors the API to consistently return response code and message
to the API main entrypoint where the response is created and sent.
Now, SonarQube and Gitea will get a response at the very end of any bot
action for one request. SonarQube has a timeout of 10 seconds, which may
be reached due to network latency. We'll see.
Signed-off-by: Steven Kriegler <sk.bunsenbrenner@gmail.com>