Refactor:
- page() becomes pan()
- pageIn() is separated from pan() and can be used for the landing-page
- decorate() takes decorDocument instead of decorURL
- decorate() no longer performs paging-in of the landing page
- start() is in charge of fetching the decorDocument and calls decorate() and pageIn()
Add `capturing` option and preliminary boot.js code
Model document capturing request() on Meeko.DOM.HTMLLoader's doRequest()
Support startOptions.contentDocument in decor.start().
This allows "capturing" of the landing-page to work.
It should be possible to put the boot-script right at the top of the page. So test for this.
Missed a couple of things in capturing start-path
Add decor and real content markers to <head> as boundaries for node insertion / removal.
- Real content goes after <link rel="meeko-self" href="..." />
- Decor goes after <link rel="meeko-decor-active" href="..." /> and before real content marker
- Nodes placed before the decor marker are safe from HTMLDecor
- Add a real content marker <link rel="meeko-self" href="..." /> to protect html5 <style> and startup page-hiding <style>, etc.

- Don't assume there is only one <plaintext> in document when capturing.

- Some prettifying and comments
- delay adding html5 styles to document until html5prepare() is called
- when capturing, if boot-script isn't right at the top of the document then
prefix the <plaintext> contents with the current doctype, html and head.
Add reloadOptions, mostly so location.reload() can be called when capturing has an error. In this case we want the reload to ignore HTMLDecor completely.
Twiddle capturing compat checks
Modularize capturing. Mostly so it can easily be removed if appropriate.
Enclose toStartTag() and getDocTypeTag() in the Capture module
Merge branch '2.0.x' into capturing
Update documentation with capturing