remove obsolete offline functions
throw write error on upload so promise rejects
remove version header from delete

until we figure out a more consistent way for synced/non to pass
a relevant version
add some doc comments
update build
downloadBlob function
update download/snapshot url building
add php group helper functions used by z.org