Update composer.json
Fix the empty repository check in platform build.
Refine the build functionality.

- Fixes errors when there was nothing to build (whole site committed).
- Symlinks the repository instead of copying it.
Create a gitignore file on platform get.
environment:checkout should do a git fetch first.
Fix 'platform get' regression.