fixes#128
When trying to update a resource on transifex, it catches the file not found response and tries to create it instead.
This required adding a function that will return the correct file type for the resource based on the repository. Note, this will fail for new repositories.
Also checking in package lock changes, although they appear to be just changing. `http` to `https`
* tx-pull-www: pull www translations from transifex
* validate-www: check www for correct placeholders
* add commands to pull and validate www to package.json
* add validating www to the test step
* add pulling www to the update-translations script for the cron job
* changed .tx/config to match the new folder names `scratch-website.<resource-slug>`, and added missing folders. This isn’t needed for the scripts, but it’s useful if you need to pull the translation for a single language/resource