Move the "adding script" debug info into a more accurate place
Add packing debug information
Add some debug information to manifest parsing
Yet more debug informations
Print all pkgdb sql line in debug level 4