Initial 'publish work

Adds a 'Publish' button to the sidebar on the right which triggers download of the project JSONs.