Modifications to allow `capturing: false` boot-option.

Also introduce new `capturing: "auto"` boot-option
which means `true` if boot-script is in or before <head>, otherwise false.
This is mainly to support meeko-panner which can run as a bookmarklet
or from a normal boot-script.