General fixes and method hardening for build_vapp and inventory_check.
- hardened catalog upload, should now work in all the use cases (single-vm,multi-vm,multi-vm with multiple boxes).
- got rid of some debug output