[Chrome extension] Change PDF rendering method.

In short:

- Extension is fully functional for file:-schemes in incognito mode.
- Viewer is displayed faster, especially for big files.
- URL is prefixed with  "chrome-extension://EXTENSIONID/".

See each commit message for a detailed breakdown.

One of the commits depends on #3582.