Allow open popups from bookmarklets. Fix #968.

Use the `openUrlInCurrentTab` message to open bookmarklets so they are opened
via `chrome.tabs.update` instead of an injected script element. This allows
bookmarklets to open popups.

This is a rebase of PR #981 onto the current master. It fixes #968.