Swagger Definition file: The reference to the api.json was missing

The api.json needs to be listed under the api-docs to be shown in the
swagger UI GUI.

Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
Http Server: Add a stop method to the server

This adds a stop method that stop the global server, allows to stop it
from the API.

Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
Http Server: Add a stop server API

This adds an API to stop the httpserver, if the httpserver is running in
the foreground it would cause the system to stop.

Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>