Updated new tab handling

More decisions are now deferred to the onBeforeRequest, allowing
for a more uniform response.

This has the side effect of close redirected new tabs which were
originally manually opened.