qemu: set DHCP hostname based on image name and version

Provides an easy way to test this setting hostname from DHCP, most other
systems rely on it.
Merge pull request #304 from marineam/hostname

qemu: set DHCP hostname based on image name and version