Add a way to call the extension from unprivileged code.

And a test page demonstrating it.