Making deployment script project-independent.

- Made all project-specific parameters configurable and not hardcoded.
- Standardized the order of sources for parameters as:
  command-line argument -> env var -> default value.
- Added the parameters for this project as env vars in the circle.yaml.

- Added polling to make sure the S3 upload finished before moving on.