Tests: Work with qcow2 images instead of tarballs.

* vm-pack and vm-unpack are replaced by vm-save and vm-reset.
* If necessary, a new image is created based on the master backing
  image when a machine is started.