Move logic of stopping core and services to api or daemon package

From https://github.com/mesg-foundation/core/issues/576

Now, when stopping the core (command mesg-core stop), the CLI manually load and stop services before stopping the core.
This logic should be move in API or daemon package.

Concerned source code:


Reply from @Anthony

I would vote for the daemon package to run this logic but it can rely to a stopAllServices from the API


Reply from @krhubert

That would be good start, but for now we are listing services from the database.

Maybe we should add label to each container and just create a function container.StopService(filter/label)

And in daemon - container.StopService(“mesg-label”)

Because overall we don’t need to list service from a database, but rather from current stat of docker containers.

The engine is now responsible of shutting down all the services when we shutdown the daemon https://github.com/mesg-foundation/engine/blob/5fc8601c1de2edd06fd0549dc76f07aca91ef881/core/main.go#L209