Add URL prefixes for Login and Edit buttons

(part of unmerged patch from https://github.com/jsbin/jsbin/pull/1450)
Add root prefix to missing links
Merge pull request #2152 from mattdsteele/url-prefix-fixes

Better support for jsbin running under a URL prefix