feat(api): Use the resin supervisor restart endpoint to restart (#2093)
feat(api): Use the resin supervisor restart endpoint to restart (#2093)

Right now we restart our system by killing pid 1. When this happens, changes that the resin
supervisor and container make to the environment (like environment variables specified in the
Dockerfile) are not persisted across the restart. By using the Resin supervisor's /restart endpoint
(https://docs.resin.io/reference/supervisor/supervisor-api/#post-v1-restart) we can avoid this.

Closes #2092
Opentrons/labware,OpenTrons/opentrons-api,OpenTrons/opentrons_sdk,OpenTrons/opentrons-api,OpenTrons/opentrons-api,OpenTrons/opentrons-api,OpenTrons/opentrons-api