Upload updates

Build on the upgrade_to branch, which is still unmerged as well.
This should be at the top of the module and named `UPDATES_WEBDIR`.  Environment variables should be queried at startup to avoid the extra code execution.