support privileged app generation (bug 1104862)
Merge pull request #2792 from washort/1104862

Generate privileged packaged apps (bug 1104862)