This Fixes #856
This Fixes #856

Rectifying indentation
This Fixes #856

We don't want the option to display the selected option.
This Fixes #856

Added caret to the drop down so that it shows up along with the selected value
This Fixes #856

Typo corrected
This Fixes #856

Now it will reset the view type on load of new notebook.
spacing changes
put share button type as menu to right of share button
use switch statement for share types; fix notebook.R&version=
uses dashes not underscores for html ids and css classes
rcloud.get.notebook.property, rcloud.set.notebook.property

following the pattern that non-cache properties can only be set by
the notebook owner, and updating the old functions to use these
polish view type menu

save it per-notebook using rcloud.set.notebook.property
make it a dropdown "of' the view link button
move rest of logic into ui/share_button.js
Merge branch 'pr/911' into develop
and fix share button to update link when type changed programmatically

Conflicts:
	htdocs/editor_tab.js
	htdocs/js/rcloud_bundle.js
	htdocs/js/rcloud_bundle.min.js
	rcloud.support/R/rcloud.support.R