Configuration options for network and video devices

I needed these options for my use of vagrant-kvm. I also removed some dead code, fix some random bugs I found and cleaned up the test directory.