Add support for Qemu devices on cloud instances (server)

This PR adds support for running Qemu devices on cloud instances.

It also moves image path manipulations from the gui to the server code.