This is a work-in-progress branch, used mainly for code storate.
You don't want to run this.

- Introduce rudimentary logging system
- Sidebar: Set up XDM connection before loading Annotator plugins
- Add some logging messages
- Host document: defer scanning the document in Annotator.Host constructor