edit button

replaces "view source" and edit text
stop ?notebook causing double load

we were flagging on shell.gistname() to make sure editor.init did not
load a notebook if a load was going to come later.  something changed
and the flag is not getting set in time

since editor.init is causing a load anyway, might as well just pass an
optional gistname and version there, rather than relying on this
complicated flag