make measurement download redirect to s3 bucket.

Picks up some metadata changes from kixi.pipe too.
fix alignment, trailing parens &c.
Merge pull request #251 from MastodonC/feature/fix-measurements-download-as-file

make measurement download redirect to s3 bucket.
The s3 bucket policy.

We should have a system to automate creating this in the future.
Merge pull request #252 from MastodonC/feature/s3-configuration-backup

S3 configuration data  for the  s3 bucket policy.
Limit size of files uploaded via UI

Add filename to user metadata.
Use calculated max size.
Merge pull request #253 from MastodonC/feature/fix-upload-size

Limit size of files uploaded via UI
Fix the programmes table.
Keys for projects table.