Build & deployment improvements

Added creation of deployments and archives dirs to app setup.
Initial work on gear distribute.
Build & deployment improvements

Corrected rsync command.
Now returning rsync output to caller.
Build & deployment improvements

Renamed app-root/deployments to app-deployments
Renamed app-root/archives to app-archives
Got rid of -pending from build/deploy dir
Added app-deployments/by-id to contain symlinks of deployment id -> real deployment dir
Initial WIP for activate action
Build & deployment improvements

Fixed typos
Fixed permissions on app-archives and app-deployments
Build & deployment improvements

Fixed more typos
Added activate command to gear script