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 
Should be **\*.* or something similar. The current wildcard looks pretty weird