This Fixes #1038 : use tag for shareable link
removed <code>write</code> from the R file, My bad
minor cleanup on PR #1044

@amol-jore, just minor performance tweaks here:
- it's not necessary to search for a tag if there is no version
- it's not necessary to sequence a promise with .then if the thing
before does not return a promise
Merge branch 'pr/1044' into develop

Conflicts:
	htdocs/js/rcloud_bundle.min.js