Working prototype of Pageshot with clean browser API.

See #1.