fixes browser.dump() by implementing History.dump and EventLoop.dump

Note that the EventLoop.dump implementation is a stub.