One huge badass commit to more-or-less fix package upload

- Upload package files through "/upload/packaged"
- Manifest and icon files are extracted from uploaded zip files
- Detail app page switches depending on packaged app or hosted app.

Signed-off-by: Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>