Use new Chromium APIs for FTP and redirects

Starting with Chromium 35, extensions can get the content of ftp URLs using XMLHttpRequests.

Starting with Chromium 35, extensions can redirect requests after detecting the (PDF) MIME-type. With this feature, PDFs in frames can reliably be redirected to the viewer URL.

For both features, I've added capability tests to ensure full backwards compatibility.