Finish modularization of pxelinux.pl
* Fix several regression bugs
* Fix unit tests
* Add VM_ID to LAB data (for screenshot)