Chrome extension: Detect when access is denied

... during the deployment process, and display an error message
that might help the user the fix the problem by granting
the "Allow access to file URIs" permission to the extension.

Fixes #1663.
Done in https://github.com/hypothesis/h/commit/add9e4aa3ea501b17975d18e65200fe3b0037df3.