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 
It's public app folder (i.e. `wwwroot` if you do `--appfolder wwwroot`).