Allow local deployments by including API URL in JSON

Uploading the docs is now optional
Merge branch 'moreFlexibleDeployPhp'