Native appid extract

Uses the new(?) COM-based packaging API to read the manifest. This way the filesystem doesn't need to be crawled for the staged package.

Note that I haven't taken the time to test all scenarios for the moment, it's just a quick fix to get our build process working on all systems again.