Add support for Qemu devices on cloud instances (gui)

This PR adds support for running Qemu devices on a cloud instance.

Image path manipulation is also moved to the server side.