Checks that VM names are not already used before creating a new one with
the same name.

The script previously died half-way through if you repeated a name. This
was creating VMs that we didn't really want.
Set the VM description as its puppy number for cloned machines.

This is so that we can easily SSH into them, if they don't have CNAMEs,
without running host.
Don't count lines. Just see if the string is empty
Added the crsid of the VM's creator to the description.
Remove a race condition in the ordering of SSH commands. The condition
could result in a VM not getting the most up-to-date puppet config on
creation. An error is thrown by cl-dtg-make-vm when this occurs.

Previously, the word looked like this:
-Run first SSH command that changed /etc/hostname, and ran vm-boot.
-Run another SSH command that pulls the latest version  of puppet and
applies it.

Applying puppet depends on both having the latest version, and having
the correct hostname, so we had these dependencies right.

However, the call to vm-boot, does a number of things. One of which is
deleting dom0's public key from /root/.ssh/authorized_keys.

Now, sometimes the above would work, because we spawn tasks using
nohups, with sleeps between. However sometimes it wouldn't.

Therefore, this patch ensures that we don't run vm-boot, before we make
the second connection into a guest. This ensures that we don't delete an
authorized key before the last connnection that needs it.
Merge branch 'check_duplicate_vm_name' of /srv/git/repositories/infrastructure/husky-scripts into upstream
Merge branch 'puppy-name-as-desc' of /srv/git/repositories/infrastructure/husky-scripts into upstream
Merge branch 'fix-root-authorized-key-race' of /srv/git/repositories/infrastructure/husky-scripts into upstream
New script to work out what the DNS name of a VM is by finding its MAC, working out what IP it has from dhcp and then doing a reverse lookup
Merge branch 'vmfinder4' of /srv/git/repositories/infrastructure/husky-scripts into upstream
Merge branch 'upstream'
Bump to v0.0.13
Merge branch 'packaging'