fix VirtualApp traversal in VirtualMachinePropertyCollector and refactor traversal spec creation