Fix and improve status scan script.
* Adjusted to new vm.conf format
* Now also works with lab.conf
* Use bash as HTTP client because GET was following redirects so that in
  the end we did not see the pxelinux.pl output but the result of the
  final redirect.