Change output structure of "kpm pack"

- global.json and packages folder goes to approot
- Main project & project dependencies go to approot\src
- Extract static files from main project into public app folder
- Generate k.ini which contains APP_BASE

parent #422 
So we don't need `MainProject\bin` ? I just wanted to keep the completeness of `MainProject`. If you don't want `bin` in `approot\src\MainProject`, I can delete this logic.