fetch the full HTML source in the debugger

Don't merge this yet! This needs a tiny patch in our tools to export the `fetch` function used here.

Opening the PR in case someone wants to go ahead and look at the code.
This won't handle URLs with request parameters properly, will it? You could take a look at the trimUrl/trimUrlQuery helper functions in debugger-panes.js for a more comprehensive handling of URLs.