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/587012a03289f1b90136407691970083d7b86cb9.